-
- All Implemented Interfaces:
-
com.datadog.trace.context.TraceScope.Continuation,java.io.Closeable,java.lang.AutoCloseable
public class ContinuableScope.Continuation implements Closeable, TraceScope.Continuation
-
-
Field Summary
Fields Modifier and Type Field Description public WeakReference<ContinuableScope.Continuation>ref
-
Method Summary
Modifier and Type Method Description ContinuableScopeactivate()Activate the continuation. voidclose()voidclose(boolean closeContinuationScope)Close the continuation. -
-
Method Detail
-
activate
ContinuableScope activate()
Activate the continuation.
Should be called on the child thread.
-
close
void close()
-
close
void close(boolean closeContinuationScope)
Close the continuation.
- Parameters:
closeContinuationScope- true iff parent scope should also be closed
-
-
-
-