public class BaseSendCallbackInstrumentation extends ClassInstanceMethodsEnhancePluginDefine
The send callback enhanced object will use SendCallbackEnhanceRequiredInfo
which PulsarProducerInterceptor set by skywalking dynamic field of
enhanced object.
When a callback is complete, SendCallbackInterceptor will continue
the SendCallbackEnhanceRequiredInfo.getContextSnapshot().
| Modifier and Type | Field and Description |
|---|---|
static String |
ENHANCE_CLASS |
static String |
ENHANCE_METHOD |
static String |
INTERCEPTOR_CLASS |
CONTEXT_ATTR_NAME| Constructor and Description |
|---|
BaseSendCallbackInstrumentation() |
| Modifier and Type | Method and Description |
|---|---|
protected ClassMatch |
enhanceClass() |
ConstructorInterceptPoint[] |
getConstructorsInterceptPoints() |
InstanceMethodsInterceptPoint[] |
getInstanceMethodsInterceptPoints() |
getStaticMethodsInterceptPointsenhanceClass, enhanceInstance, getInstanceMethodsInterceptV2Points, getStaticMethodsInterceptV2Pointsdefine, enhance, isBootstrapInstrumentation, witnessClasses, witnessMethodspublic static final String ENHANCE_CLASS
public static final String ENHANCE_METHOD
public static final String INTERCEPTOR_CLASS
public ConstructorInterceptPoint[] getConstructorsInterceptPoints()
getConstructorsInterceptPoints in class AbstractClassEnhancePluginDefinepublic InstanceMethodsInterceptPoint[] getInstanceMethodsInterceptPoints()
getInstanceMethodsInterceptPoints in class AbstractClassEnhancePluginDefineprotected ClassMatch enhanceClass()
enhanceClass in class AbstractClassEnhancePluginDefineCopyright © 2023 The Apache Software Foundation. All rights reserved.