Package datadog.trace.context
Class NoopTraceScope
java.lang.Object
datadog.trace.context.NoopTraceScope
- All Implemented Interfaces:
TraceScope,Closeable,AutoCloseable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface datadog.trace.context.TraceScope
TraceScope.Continuation -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close the activated context and allow any underlying spans to finish.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface datadog.trace.context.TraceScope
capture, captureConcurrent, isAsyncPropagating, setAsyncPropagation
-
Field Details
-
INSTANCE
-
-
Method Details
-
close
public void close()Description copied from interface:TraceScopeClose the activated context and allow any underlying spans to finish.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceTraceScope
-