-
- All Implemented Interfaces:
-
com.datadog.trace.context.TraceScope.Continuation
public interface AgentScope.Continuation implements TraceScope.Continuation
-
-
Method Summary
Modifier and Type Method Description abstract AgentScopeactivate()Activate the continuation. abstract AgentSpangetSpan()Provide access to the captured span -
-
Method Detail
-
activate
abstract AgentScope activate()
Activate the continuation.
Should be called on the child thread.
Consider calling this in a try-with-resources initialization block to ensure the returnedscope is closed properly.
-
-
-
-