Uses of Interface
com.iizix.txp.ITXProcess
Packages that use ITXProcess Package Description com.iizix.actionactor com.iizix.db.prop com.iizix.prop.vs com.iizix.txp com.iizix.txp.impl Uses of ITXProcess in com.iizix.actionactor
Methods in com.iizix.actionactor with parameters of type ITXProcess Modifier and Type Method Description ITXPNode.State
AbstractJavaActionActor. begin(ITXProcess process, ITXPid pid)
Notifies the node it got associated with a transactional process.ITXPNode.State
AbstractJavaActionActor. commit(ITXProcess process)
Instructs the node to commit the work.void
AbstractJavaActionActor. forget(ITXProcess process)
Notifies the node it got disassociated from the process ie it can abort, rollback (if needed) and forget about the process.ITXPNode.State
AbstractJavaActionActor. rollback(ITXProcess process)
Instructs the node to roll back the work.Uses of ITXProcess in com.iizix.db.prop
Methods in com.iizix.db.prop with parameters of type ITXProcess Modifier and Type Method Description ITXPNode.State
DatabaseActionTXPNode. begin(ITXProcess process, ITXPid pid)
ITXPNode.State
DatabaseActionTXPNode. commit(ITXProcess process)
void
DatabaseActionTXPNode. forget(ITXProcess process)
Notifies the node it got disassociated from the process ie it can abort, rollback (if needed) and forget about the process.ITXPNode.State
DatabaseActionTXPNode. rollback(ITXProcess process)
Uses of ITXProcess in com.iizix.prop.vs
Methods in com.iizix.prop.vs that return ITXProcess Modifier and Type Method Description ITXProcess
VSActionTXProcess. getTXProces()
Gets the TXProcess instance.Methods in com.iizix.prop.vs with parameters of type ITXProcess Modifier and Type Method Description static VSActionTXProcess
VSActionTXProcess. getActionProcess(ITXProcess process)
Retrieves the VS action process from the TXP process.Uses of ITXProcess in com.iizix.txp
Methods in com.iizix.txp that return ITXProcess Modifier and Type Method Description ITXProcess
ITXPCoordinator. newProcess()
Creates a new implementation specificITXProcess
instance and sets itself as coordinator.Methods in com.iizix.txp with parameters of type ITXProcess Modifier and Type Method Description ITXPNode.State
ITXPNode. begin(ITXProcess process, ITXPid pid)
Notifies the node it got associated with a transactional process.void
ITXPCoordinator. commit(ITXProcess process)
Called by the process to signal that the process logic/application requests a commit.ITXPNode.State
ITXPNode. commit(ITXProcess process)
Instructs the node to commit the work.void
ITXPNode. forget(ITXProcess process)
Notifies the node it got disassociated from the process ie it can abort, rollback (if needed) and forget about the process.void
ITXPMonitor. onBeganProcess(ITXProcess process)
Called when a process created and associated with he controllervoid
ITXPMonitor. onCommitCanceled(ITXProcess process, TXPException reason)
Called when the process aborts committing.void
ITXPMonitor. onCommitInitiated(ITXProcess process)
Called when a process is called to attempt a commitvoid
ITXPMonitor. onNodeAssociated(ITXProcess process, ITXPNode node, ITXPNode.State returnedState)
Called when a node is associated with a processITXPPolicy.Action
ITXPPolicy. onNodeCommitFailed(ITXProcess p, ITXPNode n)
Returns the required action on a node that failed to commit.void
ITXPMonitor. onNodeCommitFailedPolicyAction(ITXProcess process, ITXPNode node, ITXPPolicy.Action action)
Called when the policy action is determined for a node that failed to commitvoid
ITXPMonitor. onNodeDisassociated(ITXProcess process, ITXPNode node)
Called when a node is disassociated from a processvoid
ITXPMonitor. onNodeReady(ITXProcess process, ITXPNode node, ITXPNode.State returnedState)
Called when a node has finished doing the work neededITXPPolicy.Action
ITXPPolicy. onNodeReadyFailed(ITXProcess p, ITXPNode n)
Returns the required action on a node that failed its work.void
ITXPMonitor. onNodeReadyFailedPolicyAction(ITXProcess process, ITXPNode node, ITXPPolicy.Action action)
Called when the policy action is determined for a node that failed processingITXPPolicy.Action
ITXPPolicy. onNodeRollbackFailed(ITXProcess p, ITXPNode n)
Returns the required action on a node that failed to rollback.void
ITXPMonitor. onNodeRollbackFailedPolicyAction(ITXProcess process, ITXPNode node, ITXPPolicy.Action action)
Called when the policy action is determined for a node that failed to rollbackvoid
ITXPMonitor. onNodeTimeoutSignaled(ITXProcess process, ITXPNode node)
Called when a node indicates it timed out waiting on the process.ITXPPolicy.Action
ITXPPolicy. onNodeTimeoutSignaled(ITXProcess p, ITXPNode n)
Returns the required action on a node that timed out waiting for completion.void
ITXPMonitor. onNodeTimeoutSignaledPolicyAction(ITXProcess process, ITXPNode node, ITXPPolicy.Action action)
Called when the policy action is determined for a node that timed out waiting for completion.void
ITXPMonitor. onProcessCompleted(ITXProcess process)
Called when a process has been completed (either committed or rolled back)void
ITXPMonitor. onProcessCreated(ITXProcess process)
Called when the process is created.void
ITXPMonitor. onProcessTimeoutSignaled(ITXProcess process)
Called when a process indicates it timed out waiting on the nodesITXPPolicy.Action
ITXPPolicy. onProcessTimeoutSignaled(ITXProcess p)
Returns the required action on a process that timed out waiting for the nodes to do the work.void
ITXPMonitor. onProcessTimeoutSignaledPolicyAction(ITXProcess process, ITXPPolicy.Action action)
Called when the policy action is determined for a process that timed out waiting for the nodes to do the work.void
ITXPMonitor. onRollbackCanceled(ITXProcess process, TXPException reason)
Called when the process aborts rolling back.void
ITXPMonitor. onRollbackInitiated(ITXProcess process)
Called when a process is called to attempt a rollbackvoid
ITXPNode. processTimeout(ITXProcess process)
Called by a process to indicate it timed out waiting for all nodes to complete the work.void
ITXPCoordinator. ready(ITXProcess process, ITXPNode node, ITXPNode.State nodeState)
Called by the process to signal that a node is ready for completion.ITXPNode.State
ITXPNode. recover(ITXProcess process)
This method instructs an node to recover a process after some sort of system failure.ITXPNode.State
ITXPNode. retry(ITXProcess process)
Instructs the node to retry the work.void
ITXPCoordinator. rollback(ITXProcess process)
Called by the process to signal that the process logic/application requests a rollback.ITXPNode.State
ITXPNode. rollback(ITXProcess process)
Instructs the node to roll back the work.void
ITXPNode. timeout(ITXProcess process)
Called by a process to indicate it timed out waiting for this node.ITXPNode.State
ITXPNode. undo(ITXProcess process)
Instructs the node to undo the committed work.Uses of ITXProcess in com.iizix.txp.impl
Classes in com.iizix.txp.impl that implement ITXProcess Modifier and Type Class Description class
TXProcessImpl
Basic and crude (for now)ITXProcess
implementationFields in com.iizix.txp.impl declared as ITXProcess Modifier and Type Field Description protected ITXProcess
AbstractTXPNode. process
The process this node is associated withMethods in com.iizix.txp.impl that return ITXProcess Modifier and Type Method Description protected ITXProcess
AbstractTXPNode. getProcess()
Gets the process this node is associated with.ITXProcess
TXPCoordinatorImpl. newProcess()
Methods in com.iizix.txp.impl with parameters of type ITXProcess Modifier and Type Method Description void
TXPCoordinatorImpl. commit(ITXProcess process)
void
AbstractActionActorTXPNode. forget(ITXProcess process)
Notifies the node it got disassociated from the process ie it can abort, rollback (if needed) and forget about the process.void
TXPCoordinatorImpl. onBeganProcess(ITXProcess process)
void
TXPCoordinatorImpl. onCommitCanceled(ITXProcess process, TXPException reason)
void
TXPCoordinatorImpl. onCommitInitiated(ITXProcess process)
void
TXPCoordinatorImpl. onNodeAssociated(ITXProcess process, ITXPNode node, ITXPNode.State returnedState)
ITXPPolicy.Action
TXPPolicyImpl. onNodeCommitFailed(ITXProcess p, ITXPNode n)
void
TXPCoordinatorImpl. onNodeCommitFailedPolicyAction(ITXProcess process, ITXPNode node, ITXPPolicy.Action action)
void
TXPCoordinatorImpl. onNodeDisassociated(ITXProcess process, ITXPNode node)
void
TXPCoordinatorImpl. onNodeReady(ITXProcess process, ITXPNode node, ITXPNode.State returnedState)
ITXPPolicy.Action
TXPPolicyImpl. onNodeReadyFailed(ITXProcess p, ITXPNode n)
void
TXPCoordinatorImpl. onNodeReadyFailedPolicyAction(ITXProcess process, ITXPNode node, ITXPPolicy.Action action)
ITXPPolicy.Action
TXPPolicyImpl. onNodeRollbackFailed(ITXProcess p, ITXPNode n)
void
TXPCoordinatorImpl. onNodeRollbackFailedPolicyAction(ITXProcess process, ITXPNode node, ITXPPolicy.Action action)
void
TXPCoordinatorImpl. onNodeTimeoutSignaled(ITXProcess process, ITXPNode node)
ITXPPolicy.Action
TXPPolicyImpl. onNodeTimeoutSignaled(ITXProcess p, ITXPNode n)
void
TXPCoordinatorImpl. onNodeTimeoutSignaledPolicyAction(ITXProcess process, ITXPNode node, ITXPPolicy.Action action)
void
TXPCoordinatorImpl. onProcessCompleted(ITXProcess process)
void
TXPCoordinatorImpl. onProcessCreated(ITXProcess process)
void
TXPCoordinatorImpl. onProcessTimeoutSignaled(ITXProcess process)
ITXPPolicy.Action
TXPPolicyImpl. onProcessTimeoutSignaled(ITXProcess p)
void
TXPCoordinatorImpl. onProcessTimeoutSignaledPolicyAction(ITXProcess process, ITXPPolicy.Action action)
void
TXPCoordinatorImpl. onRollbackCanceled(ITXProcess process, TXPException reason)
void
TXPCoordinatorImpl. onRollbackInitiated(ITXProcess process)
void
ITXPNodeLogger. processTimedOut(ITXProcess process)
void
TXPNodeLogger. processTimedOut(ITXProcess process)
void
AbstractTXPNode. processTimeout(ITXProcess process)
void
TXPCoordinatorImpl. ready(ITXProcess process, ITXPNode node, ITXPNode.State nodeState)
ITXPNode.State
AbstractTXPNode. recover(ITXProcess process)
ITXPNode.State
AbstractTXPNode. retry(ITXProcess process)
void
TXPCoordinatorImpl. rollback(ITXProcess process)
void
ITXPNodeLogger. timedOut(ITXProcess process)
void
TXPNodeLogger. timedOut(ITXProcess process)
void
AbstractTXPNode. timeout(ITXProcess process)
ITXPNode.State
AbstractTXPNode. undo(ITXProcess process)