Class SafeCompleteFlowCallback

    • Constructor Detail

      • SafeCompleteFlowCallback

        public SafeCompleteFlowCallback()
    • Method Detail

      • waitUntilComplete

        public java.lang.Thread waitUntilComplete​(int maxWaitTimeInMilliseconds)
        Waits until FlowCallback is complete.
        Parameters:
        maxWaitTimeInMilliseconds - Maximum wait time in milliseconds.
      • run

        public void run​(java.lang.Throwable escalation)
                 throws java.lang.Throwable
        Description copied from interface: FlowCallback
        Invoked on completion of the Flow.
        Specified by:
        run in interface FlowCallback
        Overrides:
        run in class CompleteFlowCallback
        Parameters:
        escalation - Possible Throwable from the Flow. null indicates all Escalation instances handled within Flow.
        Throws:
        java.lang.Throwable - Escalation within the callback logic.