Commit 14bc3d96 authored by lytscu's avatar lytscu
Browse files

comments

parent 4215fc62
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -37,11 +37,9 @@ import org.skywalking.apm.agent.core.plugin.interceptor.enhance.MethodInterceptR
import org.skywalking.apm.network.trace.component.ComponentsDefine;

/**
 * {@link MongoDBCollectionMethodInterceptor}create the exit span when the client call the interceptor methods.
 * <p>
 * {@link MongoDBCollectionMethodInterceptor} intercept  constructor of {@link com.mongodb.DBCollection}or {@link com.mongodb.DBCollectionImpl} for
 * record the ServerAddress.
 *
 * record the ServerAddress,and create the exit span.
 *@Auther liyuntao
 */

public class MongoDBCollectionMethodInterceptor implements InstanceMethodsAroundInterceptor, InstanceConstructorInterceptor {
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ import static org.skywalking.apm.agent.core.plugin.match.NameMatch.byName;
 * 5. updateImpl <br/>
 * 6. remove <br/>
 * 7. createIndex <br/>
 *
 *@Auther liyuntao
 */
public class MongoDBCollectionImplInstrumentation extends ClassInstanceMethodsEnhancePluginDefine {

+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ import static org.skywalking.apm.agent.core.plugin.match.NameMatch.byName;
 * 7. group <br/>
 * 8. distinct <br/>
 * 9. mapReduce <br/>
 *
 *@Auther liyuntao
 */
public class MongoDBCollectionInstrumentation extends ClassInstanceMethodsEnhancePluginDefine {