use of com.navercorp.pinpoint.bootstrap.context.AsyncStateSupport in project pinpoint by naver.
the class SpanAsyncEventSimpleAroundInterceptor method finishAsyncState.
private void finishAsyncState(final AsyncTraceId asyncTraceId) {
if (asyncTraceId instanceof AsyncStateSupport) {
final AsyncStateSupport asyncStateSupport = (AsyncStateSupport) asyncTraceId;
AsyncState asyncState = asyncStateSupport.getAsyncState();
asyncState.finish();
if (isDebug) {
logger.debug("finished asyncState. asyncTraceId={}", asyncTraceId);
}
}
}
Aggregations