mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-18 17:26:14 +10:00
[강운덕] [PROFILER-31] traceContext 존재 및 핸들링 기능을 SpanSimpleAroundInterceptor로 위임함. bloc도 같이 수정함.
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-profiler-bootstrap/trunk@4106 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
+2
-2
@@ -52,7 +52,7 @@ public abstract class SpanSimpleAroundInterceptor implements SimpleAroundInterce
|
||||
}
|
||||
traceContext.detachTraceObject();
|
||||
try {
|
||||
doInAfterTrace(trace, args, result);
|
||||
doInAfterTrace(trace, target, args, result);
|
||||
} catch (Throwable th) {
|
||||
if (logger.isWarnEnabled()) {
|
||||
logger.warn("Tomcat StandardHostValve trace start fail. Caused:{}", th.getMessage(), th);
|
||||
@@ -62,7 +62,7 @@ public abstract class SpanSimpleAroundInterceptor implements SimpleAroundInterce
|
||||
}
|
||||
}
|
||||
|
||||
protected abstract void doInAfterTrace(final Trace trace, final Object[] args, final Object result);
|
||||
protected abstract void doInAfterTrace(final Trace trace, final Object target, final Object[] args, final Object result);
|
||||
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user