-
- All Implemented Interfaces:
-
com.datadog.opentracing.scopemanager.DDScope,com.datadog.trace.context.TraceScope,io.opentracing.Scope,java.io.Closeable,java.lang.AutoCloseable
public class ContinuableScope implements DDScope, TraceScope
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classContinuableScope.Continuation
-
Method Summary
Modifier and Type Method Description voidclose()DDSpanspan()intdepth()voidsetAsyncPropagation(boolean value)Enable or disable async propagation. ContinuableScope.Continuationcapture()The continuation returned must be closed or activated or the trace will not finish. StringtoString()-
Methods inherited from class com.datadog.opentracing.scopemanager.DDScope
span -
Methods inherited from class io.opentracing.Scope
close, span -
Methods inherited from class com.datadog.trace.context.TraceScope
setAsyncPropagation -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
close
void close()
-
depth
int depth()
-
setAsyncPropagation
void setAsyncPropagation(boolean value)
Enable or disable async propagation. Async propagation is initially set to false.
- Parameters:
value- The new propagation value.
-
capture
ContinuableScope.Continuation capture()
The continuation returned must be closed or activated or the trace will not finish.
-
-
-
-