public class BasePulsarConsumerListenerInstrumentation extends ClassInstanceMethodsEnhancePluginDefine
MessageListener as an enhanced
class.
User will implement MessageListener interface to consume message and enhance
all instances of MessageListener interface can let users get trace information
in message listener thread.
| Modifier and Type | Field and Description |
|---|---|
static String |
ENHANCE_CLASS |
static String |
ENHANCE_METHOD |
static String |
INTERCEPTOR_CLASS |
CONTEXT_ATTR_NAME| Constructor and Description |
|---|
BasePulsarConsumerListenerInstrumentation() |
| Modifier and Type | Method and Description |
|---|---|
protected ClassMatch |
enhanceClass() |
ConstructorInterceptPoint[] |
getConstructorsInterceptPoints() |
InstanceMethodsInterceptPoint[] |
getInstanceMethodsInterceptPoints() |
getStaticMethodsInterceptPointsenhanceClass, enhanceInstance, getInstanceMethodsInterceptV2Points, getStaticMethodsInterceptV2Pointsdefine, enhance, isBootstrapInstrumentation, witnessClasses, witnessMethodspublic static final String INTERCEPTOR_CLASS
public static final String ENHANCE_METHOD
public static final String ENHANCE_CLASS
public BasePulsarConsumerListenerInstrumentation()
protected ClassMatch enhanceClass()
enhanceClass in class AbstractClassEnhancePluginDefinepublic ConstructorInterceptPoint[] getConstructorsInterceptPoints()
getConstructorsInterceptPoints in class AbstractClassEnhancePluginDefinepublic InstanceMethodsInterceptPoint[] getInstanceMethodsInterceptPoints()
getInstanceMethodsInterceptPoints in class AbstractClassEnhancePluginDefineCopyright © 2022 The Apache Software Foundation. All rights reserved.