Class ConcurrentFlowScope

java.lang.Object
com.aquima.interactions.portal.model.session.concurrent.ConcurrentPortalScope
com.aquima.interactions.portal.model.session.concurrent.ConcurrentFlowScope
All Implemented Interfaces:
IDisposableScope, IFlowScope, IPortalScope, Serializable

public class ConcurrentFlowScope extends ConcurrentPortalScope implements IFlowScope
Flow scope implementation that uses locking to handle concurrent method calls.
Since:
9.0
Author:
Jon van Leuven
See Also:
  • Constructor Details

    • ConcurrentFlowScope

      public ConcurrentFlowScope(IFlowScope flowScope, ReadWriteLock lock)
      Construct a concurrent flow scope.
      Parameters:
      flowScope - The delegate flow scope, may not be null.
      lock - The read/write lock to handle concurrent calls, may not be null.
  • Method Details

    • getFlowName

      public String getFlowName()
      Description copied from interface: IFlowScope
      This method returns the name of the flow this scope belongs to.
      Specified by:
      getFlowName in interface IFlowScope
      Returns:
      The flow name, never null or empty.
    • getType

      public PortalScopeType getType()
      Description copied from interface: IPortalScope
      This method will return the scope type of the portal scope implementation.
      Specified by:
      getType in interface IPortalScope
      Returns:
      The current scope type.