mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-17 08:46:22 +10:00
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-profiler-bootstrap/trunk@1433 84d0f5b1-2673-498c-a247-62c4ff18d310
37 lines
769 B
Java
37 lines
769 B
Java
package com.profiler.context;
|
|
|
|
import com.profiler.common.util.ParsingResult;
|
|
import com.profiler.interceptor.MethodDescriptor;
|
|
|
|
import java.util.UUID;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
public interface TraceContext {
|
|
|
|
Trace currentTraceObject();
|
|
|
|
Trace continueTraceObject(TraceID traceID);
|
|
|
|
Trace newTraceObject();
|
|
|
|
void detachTraceObject();
|
|
|
|
// ActiveThreadCounter getActiveThreadCounter();
|
|
|
|
void setAgentId(String agentId);
|
|
|
|
String getAgentId();
|
|
|
|
void setApplicationId(String applicationId);
|
|
|
|
String getApplicationId();
|
|
|
|
int cacheApi(MethodDescriptor methodDescriptor);
|
|
|
|
ParsingResult parseSql(String sql);
|
|
|
|
TraceID createTraceId(UUID uuid, int parentSpanID, int spanID, boolean sampled, short flags);
|
|
}
|