Package com.iizix.txp.impl
Interface ITXPLogger
- All Superinterfaces:
ITXPBasicLogger
- All Known Implementing Classes:
TXPLogger
This is an interface for TXP transaction logging. The log will not only log problems and exceptions etc but also all information needed to reconstruct transactions from PIDs and resolve heuristic problems. The coordinator and process impl know of each other but the node impl not. A node must be able to work with any coordinator/process impl! Initially this will be just a place holder implementation
- Author:
- Freggle
Method Summary
Modifier and TypeMethodDescriptionvoid
commitCanceled
(TXProcessImpl process, TXPException reason) getProcessLogger
(TXProcessImpl process) void
heuristicMixed
(TXProcessImpl process) void
localPolicySet
(TXProcessImpl process, ITXPPolicy policy) void
monitorAdded
(ITXPMonitor monitor) void
monitorRemoved
(ITXPMonitor monitor) void
newProcess
(TXProcessImpl process) void
nodeCommitFailedPolicyAction
(TXProcessImpl process, ITXPNode node, ITXPPolicy.Action action) void
nodeReadyFailedPolicyAction
(TXProcessImpl process, ITXPNode node, ITXPPolicy.Action action) void
nodeRollbackFailedPolicyAction
(TXProcessImpl process, ITXPNode node, ITXPPolicy.Action action) void
nodeTimeoutSignaledPolicyAction
(TXProcessImpl process, ITXPNode node, ITXPPolicy.Action action) void
processCompleted
(TXProcessImpl process) void
processCreated
(TXProcessImpl process) void
processTimeoutSignaledPolicyAction
(TXProcessImpl process, ITXPPolicy.Action action) void
rollbackCanceled
(TXProcessImpl process, TXPException reason) setLastState
(ITXProcess.State state) usePolicy
(ITXPPolicy policy) Methods inherited from interface com.iizix.txp.impl.ITXPBasicLogger
error, fatal, info, warning
Method Details
processCreated
getProcessLogger
newProcess
processCompleted
setLastState
usePolicy
nodeReadyFailedPolicyAction
commitCanceled
rollbackCanceled
nodeCommitFailedPolicyAction
heuristicMixed
nodeRollbackFailedPolicyAction
monitorAdded
monitorRemoved
nodeTimeoutSignaledPolicyAction
void nodeTimeoutSignaledPolicyAction(TXProcessImpl process, ITXPNode node, ITXPPolicy.Action action) processTimeoutSignaledPolicyAction
localPolicySet