Interface ContinuationStateStackEventHandler

  • All Known Subinterfaces:
    OpenTelemetrySpanHandler
    All Known Implementing Classes:
    SpanHandler

    public interface ContinuationStateStackEventHandler
    The interface for handling modifications related to the continuation state stack, that were done by the ContinuationStateStackManager.
    • Method Detail

      • handleStateStackInsertion

        void handleStateStackInsertion​(MessageContext synCtx,
                                       String seqName,
                                       SequenceType seqType)
        Handles insertion to the continuation state stack.
        Parameters:
        synCtx - Message context.
        seqName - Sequence name.
        seqType - Sequence type.
      • handleStateStackRemoval

        void handleStateStackRemoval​(ContinuationState continuationState,
                                     MessageContext synCtx)
        Handles removal from the continuation state stack.
        Parameters:
        continuationState - Continuation state.
        synCtx - Message context.
      • handleStateStackClearance

        void handleStateStackClearance​(MessageContext synCtx)
        Handles clearance of the continuation state stack.
        Parameters:
        synCtx - Message context.