public class MongoDBCollectionInstrumentation extends ClassInstanceMethodsEnhancePluginDefine
MongoDBCollectionInstrumentation define that the MongoDB Java Driver 2.13.x-2.14.x plugin intercepts the
following methods in the DBCollectionclass: 1. aggregate 2. findAndModify 3. getCount
4. drop 5. dropIndexes 6. rename 7. group 8. distinct 9. mapReduce
CONTEXT_ATTR_NAME| Constructor and Description |
|---|
MongoDBCollectionInstrumentation() |
| Modifier and Type | Method and Description |
|---|---|
protected ClassMatch |
enhanceClass() |
ConstructorInterceptPoint[] |
getConstructorsInterceptPoints() |
InstanceMethodsInterceptPoint[] |
getInstanceMethodsInterceptPoints() |
protected String[] |
witnessClasses() |
getStaticMethodsInterceptPointsenhanceClass, enhanceInstance, getInstanceMethodsInterceptV2Points, getStaticMethodsInterceptV2Pointsdefine, enhance, isBootstrapInstrumentation, witnessMethodspublic ConstructorInterceptPoint[] getConstructorsInterceptPoints()
getConstructorsInterceptPoints in class AbstractClassEnhancePluginDefinepublic InstanceMethodsInterceptPoint[] getInstanceMethodsInterceptPoints()
getInstanceMethodsInterceptPoints in class AbstractClassEnhancePluginDefineprotected ClassMatch enhanceClass()
enhanceClass in class AbstractClassEnhancePluginDefineprotected String[] witnessClasses()
witnessClasses in class AbstractClassEnhancePluginDefineCopyright © 2021 The Apache Software Foundation. All rights reserved.