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. mapReduceCONTEXT_ATTR_NAME| Constructor and Description |
|---|
MongoDBCollectionInstrumentation() |
| Modifier and Type | Method and Description |
|---|---|
protected ClassMatch |
enhanceClass() |
protected ConstructorInterceptPoint[] |
getConstructorsInterceptPoints() |
protected InstanceMethodsInterceptPoint[] |
getInstanceMethodsInterceptPoints() |
protected String[] |
witnessClasses() |
getStaticMethodsInterceptPointsenhancedefineprotected ConstructorInterceptPoint[] getConstructorsInterceptPoints()
getConstructorsInterceptPoints in class ClassEnhancePluginDefineprotected InstanceMethodsInterceptPoint[] getInstanceMethodsInterceptPoints()
getInstanceMethodsInterceptPoints in class ClassEnhancePluginDefineprotected ClassMatch enhanceClass()
enhanceClass in class AbstractClassEnhancePluginDefineprotected String[] witnessClasses()
witnessClasses in class AbstractClassEnhancePluginDefineCopyright © 2019 The Apache Software Foundation. All rights reserved.