Interface FlowExecutionLock


public interface FlowExecutionLock
A pessmistic lock to obtain exclusive rights to a flow execution. Used to prevent conflicts when multiple requests to manipulate a flow execution arrive from different threads concurrently.
Author:
Keith Donald
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Acquire the flow execution lock.
    void
    Release the flow execution lock.
  • Method Details

    • lock

      void lock()
      Acquire the flow execution lock. This method will block until the lock becomes available for acquisition.
    • unlock

      void unlock()
      Release the flow execution lock.