public static interface TraceScope.Continuation
Modifier and Type | Method and Description |
---|---|
TraceScope |
activate()
Activate the continuation.
|
void |
cancel()
Allow trace to stop waiting on this continuation for reporting.
|
TraceScope activate()
Should be called on the child thread.
Consider calling this in a try-with-resources initialization block to ensure the returned scope is closed properly.
void cancel()