[강운덕] [LUCYSUS-1744] arcus 비동기 추적시 별도 global map에 등록되지 않고 트레이스 객체에만 attatch되서 동작하도록 변경.

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@863 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Woonduk Kang
2012-11-14 07:50:03 +00:00
parent a26bd8cd98
commit c9bc6e8236
8 changed files with 79 additions and 48 deletions
@@ -66,6 +66,14 @@ public final class Trace {
}
}
public AsyncTrace createAsyncTrace() {
TraceID nextTraceId = getNextTraceId();
Span span = new Span(nextTraceId, null, null);
AsyncTrace asyncTrace = new AsyncTrace(span);
asyncTrace.setDataSender(this.getDataSender());
return asyncTrace;
}
private StackFrame createStackFrame(TraceID nextId, int stackId) {
StackFrame stackFrame = new StackFrame();
stackFrame.setStackFrameId(stackId);