@Test public void shouldNotCollectCallTree() throws Exception { assertTrue(interceptorContext.isCollectCallTree()); interceptorContext.shouldNotCollectCallTree("reasons"); assertFalse(interceptorContext.isCollectCallTree()); }
public PreExecutionInterceptorContext shouldNotCollectCallTree(String reason) { if (!mustCollectCallTree) { logger.debug("Should not collect call tree because {}", reason); collectCallTree = false; } return this; }
PreExecutionInterceptorContext extends AbstractInterceptorContext<PreExecutionInterceptorContext> { public PreExecutionInterceptorContext shouldNotCollectCallTree(String reason) { if (!mustCollectCallTree) { logger.debug("Should not collect call tree because {}", reason); collectCallTree = false; } return this; } }
PreExecutionInterceptorContext extends AbstractInterceptorContext<PreExecutionInterceptorContext> { public PreExecutionInterceptorContext shouldNotCollectCallTree(String reason) { if (!mustCollectCallTree) { logger.debug("Should not collect call tree because {}", reason); collectCallTree = false; } return this; } PreExecutionInterceptorContext(SpanContextInformation spanContext); }
PreExecutionInterceptorContext extends AbstractInterceptorContext<PreExecutionInterceptorContext> { public PreExecutionInterceptorContext shouldNotCollectCallTree(String reason) { if (!mustCollectCallTree) { logger.debug("Should not collect call tree because {}", reason); collectCallTree = false; } return this; } PreExecutionInterceptorContext(SpanContextInformation spanContext); PreExecutionInterceptorContext mustCollectCallTree(String reason); PreExecutionInterceptorContext shouldNotCollectCallTree(String reason); boolean isCollectCallTree(); }
PreExecutionInterceptorContext extends AbstractInterceptorContext<PreExecutionInterceptorContext> { public PreExecutionInterceptorContext shouldNotCollectCallTree(String reason) { if (!mustCollectCallTree) { logger.debug("Should not collect call tree because {}", reason); collectCallTree = false; } return this; } PreExecutionInterceptorContext(SpanContextInformation spanContext); PreExecutionInterceptorContext mustCollectCallTree(String reason); PreExecutionInterceptorContext shouldNotCollectCallTree(String reason); boolean isCollectCallTree();  }