Package com.iizix.txp
Interface ITXPPolicy
- All Known Implementing Classes:
- TXPPolicyImpl
public interface ITXPPolicy
- Author:
- Freggle
- Nested Class SummaryNested ClassesModifier and TypeInterfaceDescription- static enumGeneric policy action that should be interpreted by the coordinator in a certain context.
- Method SummaryModifier and TypeMethodDescriptionReturns the required action on a node that failed to commit.Returns the required action on a node that failed its work.Returns the required action on a node that failed to rollback.Returns the required action on a node that timed out waiting for completion.Returns the required action on a process that timed out waiting for the nodes to do the work.
- Method Details- onNodeReadyFailedReturns the required action on a node that failed its work.- Parameters:
- p- the process
- n- the node
- Returns:
- the required action
 
- onNodeCommitFailedReturns the required action on a node that failed to commit.- Parameters:
- p- the process
- n- the node
- Returns:
- the required action
 
- onNodeRollbackFailedReturns the required action on a node that failed to rollback.- Parameters:
- p- the process
- n- the node
- Returns:
- the required action
 
- onNodeTimeoutSignaledReturns the required action on a node that timed out waiting for completion.- Parameters:
- p- the process
- n- the node
- Returns:
- the required action
 
- onProcessTimeoutSignaledReturns 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