Package 

Interface AgentScope.Continuation

    • Method Summary

      Modifier and Type Method Description
      abstract AgentScope activate() Activate the continuation.
      abstract AgentSpan getSpan() Provide access to the captured span
      • Methods inherited from class com.datadog.trace.context.TraceScope.Continuation

        activate, cancel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.