Package com.iizix.txp
Interface ITXPManagementInfo
public interface ITXPManagementInfo
Holds the management info for a process. NOTE: UNDER DESIGN!!
- Author:
- Freggle
- Method SummaryModifier and TypeMethodDescriptionGets the list of the node pids that failed to commit.Gets the list of the node pids that failed to rollback.Gets the Pid of the fixing process.Gets the management info of the fixing process.- getNodes()Gets the list of Pids of all associated nodes- getPid()Gets the Pid of the process.Gets the list of all policy actions taken for this process.- booleanReturns if the process completed successfully.- boolean- isFixed()Returns if the process has been fixed.- booleanReturn if this process has been marked for manual fixing only.- booleanWas a commit attempted?- booleanWas the completion phase of the process entered.- booleanWas rollback attempted? Note: If both this and wasCommitAttempted is true the rollback was caused by the commit.
- Method Details- getPidITXPid getPid()Gets the Pid of the process.- Returns:
- the Pid
 
- hasSucceededboolean hasSucceeded()Returns if the process completed successfully.- Returns:
- true if successfully; false if not
 
- isFixedboolean isFixed()Returns if the process has been fixed.- Returns:
- true if fixed; false if not
 
- getFixingPidITXPid getFixingPid()Gets the Pid of the fixing process.- Returns:
- the Pid of the process that fixed this process; null if it has not been fixed
 
- getFixingProcessInfoITXPManagementInfo getFixingProcessInfo()Gets the management info of the fixing process.- Returns:
- the management info of the process that fixed this process; null if it has not been fixed
 
- isMarkedForManualFixingboolean isMarkedForManualFixing()Return if this process has been marked for manual fixing only.- Returns:
- true if marked; false if not
 
- wasCommitAttemptedboolean wasCommitAttempted()Was a commit attempted?- Returns:
- true if commit attempted; false if not
 
- wasRollbackAttemptedboolean wasRollbackAttempted()Was rollback attempted? Note: If both this and wasCommitAttempted is true the rollback was caused by the commit.- Returns:
- true if rollback was attempted; false if not
 
- wasCompletionPhaseEnteredboolean wasCompletionPhaseEntered()Was the completion phase of the process entered.- Returns:
- true if the process entered the completion phase; false if not
 
- getNodesGets the list of Pids of all associated nodes- Returns:
- the list of Pids of all associated nodes
 
- getFailingNodesInCommitGets the list of the node pids that failed to commit.- Returns:
- the list of node pids that failed to commit
 
- getFailingNodesInRollbackGets the list of the node pids that failed to rollback.- Returns:
- the list of node pids that failed to rollback
 
- getPolicyActionsList<ITXPPolicy.Action> getPolicyActions()Gets the list of all policy actions taken for this process.- Returns:
- the list of policy actions