mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-16 16:28:48 +10:00
+2
-2
@@ -21,6 +21,6 @@ import com.navercorp.pinpoint.bootstrap.context.AsyncTraceId;
|
||||
*
|
||||
*/
|
||||
public interface AsyncTraceIdAccessor {
|
||||
public void _$PINPOINT$_setAsyncTraceId(AsyncTraceId id);
|
||||
public AsyncTraceId _$PINPOINT$_getAsyncTraceId();
|
||||
void _$PINPOINT$_setAsyncTraceId(AsyncTraceId id);
|
||||
AsyncTraceId _$PINPOINT$_getAsyncTraceId();
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ package com.navercorp.pinpoint.bootstrap.config;
|
||||
* @author emeroad
|
||||
*/
|
||||
public interface Filter<T> {
|
||||
public static final boolean FILTERED = true;
|
||||
boolean FILTERED = true;
|
||||
|
||||
boolean filter(T value);
|
||||
}
|
||||
|
||||
+2
-2
@@ -35,9 +35,9 @@ public interface ServerMetaDataHolder {
|
||||
|
||||
void publishServerMetaData();
|
||||
|
||||
public interface ServerMetaDataListener {
|
||||
interface ServerMetaDataListener {
|
||||
|
||||
public void publishServerMetaData(ServerMetaData serverMetaData);
|
||||
void publishServerMetaData(ServerMetaData serverMetaData);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -20,9 +20,9 @@ package com.navercorp.pinpoint.bootstrap.context;
|
||||
* @author emeroad
|
||||
*/
|
||||
public interface StackOperation {
|
||||
public static final int DEFAULT_STACKID = -1;
|
||||
int DEFAULT_STACKID = -1;
|
||||
|
||||
public static final int ROOT_STACKID = 0;
|
||||
int ROOT_STACKID = 0;
|
||||
|
||||
SpanEventRecorder traceBlockBegin();
|
||||
|
||||
|
||||
+2
-2
@@ -21,8 +21,8 @@ package com.navercorp.pinpoint.bootstrap.instrument;
|
||||
* @author jaehong.kim
|
||||
*/
|
||||
public interface ClassFilter {
|
||||
public static final boolean ACCEPT = true;
|
||||
public static final boolean REJECT = false;
|
||||
boolean ACCEPT = true;
|
||||
boolean REJECT = false;
|
||||
|
||||
boolean accept(InstrumentClass clazz);
|
||||
}
|
||||
|
||||
+7
-7
@@ -23,17 +23,17 @@ import com.navercorp.pinpoint.bootstrap.interceptor.group.InterceptorGroup;
|
||||
*
|
||||
*/
|
||||
public interface Instrumentor {
|
||||
public TraceContext getTraceContext();
|
||||
TraceContext getTraceContext();
|
||||
|
||||
public InstrumentClass getInstrumentClass(ClassLoader classLoader, String className, byte[] classfileBuffer);
|
||||
InstrumentClass getInstrumentClass(ClassLoader classLoader, String className, byte[] classfileBuffer);
|
||||
|
||||
public boolean exist(ClassLoader classLoader, String className);
|
||||
boolean exist(ClassLoader classLoader, String className);
|
||||
|
||||
public InterceptorGroup getInterceptorGroup(String name);
|
||||
InterceptorGroup getInterceptorGroup(String name);
|
||||
|
||||
public <T> Class<? extends T> injectClass(ClassLoader targetClassLoader, String className);
|
||||
<T> Class<? extends T> injectClass(ClassLoader targetClassLoader, String className);
|
||||
|
||||
public void addClassFileTransformer(ClassLoader classLoader, String targetClassName, PinpointClassFileTransformer transformer);
|
||||
void addClassFileTransformer(ClassLoader classLoader, String targetClassName, PinpointClassFileTransformer transformer);
|
||||
|
||||
public void retransform(Class<?> target, PinpointClassFileTransformer transformer);
|
||||
void retransform(Class<?> target, PinpointClassFileTransformer transformer);
|
||||
}
|
||||
|
||||
+2
-2
@@ -21,8 +21,8 @@ package com.navercorp.pinpoint.bootstrap.instrument;
|
||||
* @author emeroad
|
||||
*/
|
||||
public interface MethodFilter {
|
||||
public static final boolean ACCEPT = true;
|
||||
public static final boolean REJECT = false;
|
||||
boolean ACCEPT = true;
|
||||
boolean REJECT = false;
|
||||
|
||||
boolean accept(InstrumentMethod method);
|
||||
}
|
||||
|
||||
+1
-1
@@ -23,5 +23,5 @@ import com.navercorp.pinpoint.bootstrap.instrument.Instrumentor;
|
||||
|
||||
|
||||
public interface PinpointClassFileTransformer {
|
||||
public byte[] transform(Instrumentor instrumentor, ClassLoader classLoader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws InstrumentException;
|
||||
byte[] transform(Instrumentor instrumentor, ClassLoader classLoader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws InstrumentException;
|
||||
}
|
||||
|
||||
+2
-2
@@ -20,6 +20,6 @@ package com.navercorp.pinpoint.bootstrap.interceptor.group;
|
||||
*
|
||||
*/
|
||||
public interface InterceptorGroup {
|
||||
public String getName();
|
||||
public InterceptorGroupInvocation getCurrentInvocation();
|
||||
String getName();
|
||||
InterceptorGroupInvocation getCurrentInvocation();
|
||||
}
|
||||
|
||||
+2
-2
@@ -32,7 +32,7 @@ public interface ApplicationTypeDetector {
|
||||
* @see ServiceType#isWas()
|
||||
* @see com.navercorp.pinpoint.common.trace.ServiceTypeCategory#SERVER
|
||||
*/
|
||||
public ServiceType getApplicationType();
|
||||
ServiceType getApplicationType();
|
||||
|
||||
/**
|
||||
* Checks whether the provided conditions satisfy the requirements given by the plugins implementing this class.
|
||||
@@ -45,5 +45,5 @@ public interface ApplicationTypeDetector {
|
||||
* @return <tt>true</tt> if the provided conditions satisfy the requirements, <tt>false</tt> if otherwise
|
||||
* @see ConditionProvider
|
||||
*/
|
||||
public boolean detect(ConditionProvider provider);
|
||||
boolean detect(ConditionProvider provider);
|
||||
}
|
||||
|
||||
+3
-3
@@ -31,14 +31,14 @@ public interface ProfilerPluginSetupContext {
|
||||
*
|
||||
* @return {@link ProfilerConfig}
|
||||
*/
|
||||
public ProfilerConfig getConfig();
|
||||
ProfilerConfig getConfig();
|
||||
|
||||
/**
|
||||
* Add a {@link ApplicationTypeDetector} to Pinpoint agent.
|
||||
*
|
||||
* @param detectors
|
||||
*/
|
||||
public void addApplicationTypeDetector(ApplicationTypeDetector... detectors);
|
||||
void addApplicationTypeDetector(ApplicationTypeDetector... detectors);
|
||||
|
||||
public void addClassFileTransformer(String targetClassName, PinpointClassFileTransformer transformer);
|
||||
void addClassFileTransformer(String targetClassName, PinpointClassFileTransformer transformer);
|
||||
}
|
||||
|
||||
+2
-2
@@ -21,6 +21,6 @@ import java.util.Map;
|
||||
*
|
||||
*/
|
||||
public interface BindValueAccessor {
|
||||
public void _$PINPOINT$_setBindValue(Map<Integer, String> map);
|
||||
public Map<Integer, String> _$PINPOINT$_getBindValue();
|
||||
void _$PINPOINT$_setBindValue(Map<Integer, String> map);
|
||||
Map<Integer, String> _$PINPOINT$_getBindValue();
|
||||
}
|
||||
|
||||
+2
-2
@@ -21,6 +21,6 @@ import com.navercorp.pinpoint.bootstrap.context.DatabaseInfo;
|
||||
*
|
||||
*/
|
||||
public interface DatabaseInfoAccessor {
|
||||
public void _$PINPOINT$_setDatabaseInfo(DatabaseInfo info);
|
||||
public DatabaseInfo _$PINPOINT$_getDatabaseInfo();
|
||||
void _$PINPOINT$_setDatabaseInfo(DatabaseInfo info);
|
||||
DatabaseInfo _$PINPOINT$_getDatabaseInfo();
|
||||
}
|
||||
|
||||
+2
-2
@@ -21,6 +21,6 @@ import com.navercorp.pinpoint.bootstrap.context.ParsingResult;
|
||||
*
|
||||
*/
|
||||
public interface ParsingResultAccessor {
|
||||
public void _$PINPOINT$_setParsingResult(ParsingResult result);
|
||||
public ParsingResult _$PINPOINT$_getParsingResult();
|
||||
void _$PINPOINT$_setParsingResult(ParsingResult result);
|
||||
ParsingResult _$PINPOINT$_getParsingResult();
|
||||
}
|
||||
|
||||
+13
-13
@@ -26,17 +26,17 @@ import com.navercorp.pinpoint.common.trace.LoggingInfo;
|
||||
*
|
||||
*/
|
||||
public interface PluginTestVerifier {
|
||||
public void verifyServerType(String expected);
|
||||
public void verifyServerInfo(String expected);
|
||||
public void verifyConnector(String protocol, int port);
|
||||
public void verifyService(String context, List<String> libs);
|
||||
public void verifyTraceCount(int expected);
|
||||
public void verifyTrace(ExpectedTrace... expectations);
|
||||
public void verifyDiscreteTrace(ExpectedTrace... expectations);
|
||||
public void ignoreServiceType(String... serviceTypes);
|
||||
public void printCache(PrintStream out);
|
||||
public void printCache();
|
||||
public void initialize(boolean initializeTraceObject);
|
||||
public void cleanUp(boolean detachTraceObject);
|
||||
public void verifyIsLoggingTransactionInfo(LoggingInfo loggingInfo);
|
||||
void verifyServerType(String expected);
|
||||
void verifyServerInfo(String expected);
|
||||
void verifyConnector(String protocol, int port);
|
||||
void verifyService(String context, List<String> libs);
|
||||
void verifyTraceCount(int expected);
|
||||
void verifyTrace(ExpectedTrace... expectations);
|
||||
void verifyDiscreteTrace(ExpectedTrace... expectations);
|
||||
void ignoreServiceType(String... serviceTypes);
|
||||
void printCache(PrintStream out);
|
||||
void printCache();
|
||||
void initialize(boolean initializeTraceObject);
|
||||
void cleanUp(boolean detachTraceObject);
|
||||
void verifyIsLoggingTransactionInfo(LoggingInfo loggingInfo);
|
||||
}
|
||||
|
||||
+1
-1
@@ -21,6 +21,6 @@ package com.navercorp.pinpoint.bootstrap.resolver.condition;
|
||||
*/
|
||||
public interface Condition<T> {
|
||||
|
||||
public boolean check(T condition);
|
||||
boolean check(T condition);
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -21,6 +21,6 @@ package com.navercorp.pinpoint.bootstrap.resolver.condition;
|
||||
*/
|
||||
public interface ConditionValue<V> {
|
||||
|
||||
public V getValue();
|
||||
V getValue();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user