@Test public void excludeCallTree() throws Exception { assertFalse(interceptorContext.isExcludeCallTree()); interceptorContext.excludeCallTree("reasons"); assertTrue(interceptorContext.isExcludeCallTree()); }
public PostExecutionInterceptorContext excludeCallTree(String reason) { if (!mustPreserveCallTree) { logger.debug("Excluding call tree because {}", reason); excludeCallTree = true; } return this; }
PostExecutionInterceptorContext extends AbstractInterceptorContext<PreExecutionInterceptorContext> { public PostExecutionInterceptorContext excludeCallTree(String reason) { if (!mustPreserveCallTree) { logger.debug("Excluding call tree because {}", reason); excludeCallTree = true; } return this; } }
PostExecutionInterceptorContext extends AbstractInterceptorContext<PreExecutionInterceptorContext> { public PostExecutionInterceptorContext excludeCallTree(String reason) { if (!mustPreserveCallTree) { logger.debug("Excluding call tree because {}", reason); excludeCallTree = true; } return this; } PostExecutionInterceptorContext(SpanContextInformation spanContext); }
PostExecutionInterceptorContext extends AbstractInterceptorContext<PreExecutionInterceptorContext> { public PostExecutionInterceptorContext excludeCallTree(String reason) { if (!mustPreserveCallTree) { logger.debug("Excluding call tree because {}", reason); excludeCallTree = true; } return this; } PostExecutionInterceptorContext(SpanContextInformation spanContext); PostExecutionInterceptorContext excludeCallTree(String reason); PostExecutionInterceptorContext mustPreserveCallTree(String reason); boolean isExcludeCallTree(); }
PostExecutionInterceptorContext extends AbstractInterceptorContext<PreExecutionInterceptorContext> { public PostExecutionInterceptorContext excludeCallTree(String reason) { if (!mustPreserveCallTree) { logger.debug("Excluding call tree because {}", reason); excludeCallTree = true; } return this; } PostExecutionInterceptorContext(SpanContextInformation spanContext); PostExecutionInterceptorContext excludeCallTree(String reason); PostExecutionInterceptorContext mustPreserveCallTree(String reason); boolean isExcludeCallTree();  }