@Override public void handlerRemoved(ChannelHandlerContext ctx) throws Exception { removeInternalHandler(ctx); super.handlerRemoved(ctx); }
@Override public void handlerRemoved(ChannelHandlerContext ctx) throws Exception { removeInternalHandler(ctx); super.handlerRemoved(ctx); }
@Override public void handlerRemoved(ChannelHandlerContext ctx) throws Exception { removeInternalHandler(ctx); super.handlerRemoved(ctx); }
@Override public void handlerRemoved(ChannelHandlerContext ctx) throws Exception { PipelineContinuationBehavior methodExecutionResponse; boolean shouldLinkAndUnlinkDTraceInfo = shouldLinkAndUnlinkDistributedTraceInfoForMethod( DO_HANDLER_REMOVED, isDefaultDoHandlerRemovedImpl, forceEnableDTraceOnAllMethods, debugHandlerMethodCalls, ctx, null, null ); Pair<Deque<Span>, Map<String, String>> origThreadInfo = null; try { if (shouldLinkAndUnlinkDTraceInfo) origThreadInfo = linkTracingAndMdcToCurrentThread(ctx); if (debugHandlerMethodCalls) logger.debug("))))))))))))))))) handlerRemoved for {}", this.getClass().getName()); methodExecutionResponse = doHandlerRemoved(ctx); } finally { if (shouldLinkAndUnlinkDTraceInfo) unlinkTracingAndMdcFromCurrentThread(ctx, origThreadInfo); } if (methodExecutionResponse == null || CONTINUE.equals(methodExecutionResponse)) super.handlerRemoved(ctx); }
@Override public void handlerRemoved(ChannelHandlerContext ctx) throws Exception { PipelineContinuationBehavior methodExecutionResponse; boolean shouldLinkAndUnlinkDTraceInfo = shouldLinkAndUnlinkDistributedTraceInfoForMethod( DO_HANDLER_REMOVED, isDefaultDoHandlerRemovedImpl, forceEnableDTraceOnAllMethods, debugHandlerMethodCalls, ctx, null, null ); Pair<Deque<Span>, Map<String, String>> origThreadInfo = null; try { if (shouldLinkAndUnlinkDTraceInfo) origThreadInfo = linkTracingAndMdcToCurrentThread(ctx); if (debugHandlerMethodCalls) logger.debug("))))))))))))))))) handlerRemoved for {}", this.getClass().getName()); methodExecutionResponse = doHandlerRemoved(ctx); } finally { if (shouldLinkAndUnlinkDTraceInfo) unlinkTracingAndMdcFromCurrentThread(ctx, origThreadInfo); } if (methodExecutionResponse == null || CONTINUE.equals(methodExecutionResponse)) super.handlerRemoved(ctx); }