Package com.iizix.txp

Interface ITXPPolicy

All Known Implementing Classes:
TXPPolicyImpl

public interface ITXPPolicy
Author:
Freggle
  • Method Details Link icon

    • onNodeReadyFailed Link icon

      ITXPPolicy.Action onNodeReadyFailed(ITXProcess p, ITXPNode n)
      Returns the required action on a node that failed its work.
      Parameters:
      p - the process
      n - the node
      Returns:
      the required action
    • onNodeCommitFailed Link icon

      ITXPPolicy.Action onNodeCommitFailed(ITXProcess p, ITXPNode n)
      Returns the required action on a node that failed to commit.
      Parameters:
      p - the process
      n - the node
      Returns:
      the required action
    • onNodeRollbackFailed Link icon

      ITXPPolicy.Action onNodeRollbackFailed(ITXProcess p, ITXPNode n)
      Returns the required action on a node that failed to rollback.
      Parameters:
      p - the process
      n - the node
      Returns:
      the required action
    • onNodeTimeoutSignaled Link icon

      ITXPPolicy.Action onNodeTimeoutSignaled(ITXProcess p, ITXPNode n)
      Returns the required action on a node that timed out waiting for completion.
      Parameters:
      p - the process
      n - the node
      Returns:
      the required action
    • onProcessTimeoutSignaled Link icon

      ITXPPolicy.Action onProcessTimeoutSignaled(ITXProcess p)
      Returns the required action on a process that timed out waiting for the nodes to do the work.
      Parameters:
      p - the process
      Returns:
      the required action