Uses of Interface
com.iizix.txp.ITXProcess
Package
Description
Uses of ITXProcess in com.iizix.actionactor
Modifier and TypeMethodDescriptionfinal ITXPNode.State
AbstractJavaActionActor.begin
(ITXProcess process, ITXPid pid) Notifies the node it got associated with a transactional process.AbstractJavaActionActor.commit
(ITXProcess process) Instructs the node to commit the work.final 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.AbstractJavaActionActor.rollback
(ITXProcess process) Instructs the node to roll back the work.Uses of ITXProcess in com.iizix.db.prop
Modifier and TypeMethodDescriptionDatabaseActionTXPNode.begin
(ITXProcess process, ITXPid pid) 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.DatabaseActionTXPNode.rollback
(ITXProcess process) Uses of ITXProcess in com.iizix.prop.vs
Modifier and TypeMethodDescriptionstatic VSActionTXProcess
VSActionTXProcess.getActionProcess
(ITXProcess process) Retrieves the VS action process from the TXP process.Uses of ITXProcess in com.iizix.txp
Modifier and TypeMethodDescriptionITXPCoordinator.newProcess()
Creates a new implementation specificITXProcess
instance and sets itself as coordinator.Modifier and TypeMethodDescriptionITXPNode.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.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.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.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.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.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.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.recover
(ITXProcess process) This method instructs an node to recover a process after some sort of system failure.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.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.undo
(ITXProcess process) Instructs the node to undo the committed work.Uses of ITXProcess in com.iizix.txp.impl
Modifier and TypeClassDescriptionclass
Basic and crude (for now)ITXProcess
implementationModifier and TypeFieldDescriptionprotected ITXProcess
AbstractTXPNode.process
The process this node is associated withModifier and TypeMethodDescriptionprotected ITXProcess
AbstractTXPNode.getProcess()
Gets the process this node is associated with.TXPCoordinatorImpl.newProcess()
Modifier and TypeMethodDescriptionvoid
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) 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) TXPPolicyImpl.onNodeReadyFailed
(ITXProcess p, ITXPNode n) void
TXPCoordinatorImpl.onNodeReadyFailedPolicyAction
(ITXProcess process, ITXPNode node, ITXPPolicy.Action action) TXPPolicyImpl.onNodeRollbackFailed
(ITXProcess p, ITXPNode n) void
TXPCoordinatorImpl.onNodeRollbackFailedPolicyAction
(ITXProcess process, ITXPNode node, ITXPPolicy.Action action) void
TXPCoordinatorImpl.onNodeTimeoutSignaled
(ITXProcess process, ITXPNode node) 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) 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) AbstractTXPNode.recover
(ITXProcess process) AbstractTXPNode.retry
(ITXProcess process) void
TXPCoordinatorImpl.rollback
(ITXProcess process) void
ITXPNodeLogger.timedOut
(ITXProcess process) void
TXPNodeLogger.timedOut
(ITXProcess process) void
AbstractTXPNode.timeout
(ITXProcess process) AbstractTXPNode.undo
(ITXProcess process)