Package 

Interface TraceScope.Continuation

    • Method Summary

      Modifier and Type Method Description
      abstract TraceScope activate() Activate the continuation.
      abstract void close() Cancel the continuation.
      abstract void close(boolean closeContinuationScope) Close the continuation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • activate

         abstract TraceScope activate()

        Activate the continuation.

        Should be called on the child thread.

      • close

         abstract void close()

        Cancel the continuation. This also closes parent scope.

        FIXME: the fact that this is closing parent scope is confusing, we should review this innew API.

      • close

         abstract void close(boolean closeContinuationScope)

        Close the continuation.

        Parameters:
        closeContinuationScope - true iff parent scope should also be closed