Package com.iizix.txp.impl
Class TXPPolicyImpl
java.lang.Object
com.iizix.txp.impl.TXPPolicyImpl
- All Implemented Interfaces:
- ITXPPolicy
A (for now) very basic and crude implementation of a 
TXPolicy- Author:
- Freggle
- Nested Class Summary- Nested classes/interfaces inherited from interface com.iizix.txp.ITXPPolicy- ITXPPolicy.Action
- Constructor SummaryConstructors
- 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.
- Constructor Details- TXPPolicyImplpublic TXPPolicyImpl()
 
- Method Details- onNodeReadyFailedDescription copied from interface:- ITXPPolicyReturns the required action on a node that failed its work.- Specified by:
- onNodeReadyFailedin interface- ITXPPolicy
- Parameters:
- p- the process
- n- the node
- Returns:
- the required action
 
- onNodeCommitFailedDescription copied from interface:- ITXPPolicyReturns the required action on a node that failed to commit.- Specified by:
- onNodeCommitFailedin interface- ITXPPolicy
- Parameters:
- p- the process
- n- the node
- Returns:
- the required action
 
- onNodeRollbackFailedDescription copied from interface:- ITXPPolicyReturns the required action on a node that failed to rollback.- Specified by:
- onNodeRollbackFailedin interface- ITXPPolicy
- Parameters:
- p- the process
- n- the node
- Returns:
- the required action
 
- onNodeTimeoutSignaledDescription copied from interface:- ITXPPolicyReturns the required action on a node that timed out waiting for completion.- Specified by:
- onNodeTimeoutSignaledin interface- ITXPPolicy
- Parameters:
- p- the process
- n- the node
- Returns:
- the required action
 
- onProcessTimeoutSignaledDescription copied from interface:- ITXPPolicyReturns the required action on a process that timed out waiting for the nodes to do the work.- Specified by:
- onProcessTimeoutSignaledin interface- ITXPPolicy
- Parameters:
- p- the process
- Returns:
- the required action