@Test public void testAssociateSpan() { OpenTracingHelper helper = new OpenTracingHelper(null); Object obj = new Object(); Span span = new MockTracer().buildSpan("Test").start(); helper.associateSpan(obj, span); assertEquals(span, helper.retrieveSpan(obj)); }
public void associateSpan(Object obj, Span span) { spanAssociations.put(obj, span); }
OpenTracingHelper extends Helper { public void associateSpan(Object obj, Span span) { spanAssociations.put(obj, span); } }
OpenTracingHelper extends Helper { public void associateSpan(Object obj, Span span) { spanAssociations.put(obj, span); } OpenTracingHelper(Rule rule); }
OpenTracingHelper extends Helper { public void associateSpan(Object obj, Span span) { spanAssociations.put(obj, span); } OpenTracingHelper(Rule rule); Tracer getTracer(); void associateSpan(Object obj, Span span); Span retrieveSpan(Object obj); void finishedSpan(Object key, Span span); boolean isFinished(Object key); void setState(Object obj, int value); int getState(Object obj); boolean ignore(Object obj); }
OpenTracingHelper extends Helper { public void associateSpan(Object obj, Span span) { spanAssociations.put(obj, span); } OpenTracingHelper(Rule rule); Tracer getTracer(); void associateSpan(Object obj, Span span); Span retrieveSpan(Object obj); void finishedSpan(Object key, Span span); boolean isFinished(Object key); void setState(Object obj, int value); int getState(Object obj); boolean ignore(Object obj);  }