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