Package com.iizix.txp.impl
Class TXPLogger
java.lang.Object
com.iizix.txp.impl.TXPLogger
- All Implemented Interfaces:
ITXPBasicLogger
,ITXPLogger
- Author:
- fREGGLE
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionvoid
commitCanceled
(TXProcessImpl process, TXPException reason) protected TXPException
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)
Constructor Details
TXPLogger
public TXPLogger()
Method Details
expand
fatal
- Specified by:
fatal
in interfaceITXPBasicLogger
error
- Specified by:
error
in interfaceITXPBasicLogger
warning
- Specified by:
warning
in interfaceITXPBasicLogger
info
- Specified by:
info
in interfaceITXPBasicLogger
getProcessLogger
- Specified by:
getProcessLogger
in interfaceITXPLogger
setLastState
- Specified by:
setLastState
in interfaceITXPLogger
usePolicy
- Specified by:
usePolicy
in interfaceITXPLogger
processCreated
- Specified by:
processCreated
in interfaceITXPLogger
newProcess
- Specified by:
newProcess
in interfaceITXPLogger
processCompleted
- Specified by:
processCompleted
in interfaceITXPLogger
nodeReadyFailedPolicyAction
public void nodeReadyFailedPolicyAction(TXProcessImpl process, ITXPNode node, ITXPPolicy.Action action) - Specified by:
nodeReadyFailedPolicyAction
in interfaceITXPLogger
commitCanceled
- Specified by:
commitCanceled
in interfaceITXPLogger
rollbackCanceled
- Specified by:
rollbackCanceled
in interfaceITXPLogger
nodeCommitFailedPolicyAction
public void nodeCommitFailedPolicyAction(TXProcessImpl process, ITXPNode node, ITXPPolicy.Action action) - Specified by:
nodeCommitFailedPolicyAction
in interfaceITXPLogger
heuristicMixed
- Specified by:
heuristicMixed
in interfaceITXPLogger
nodeRollbackFailedPolicyAction
public void nodeRollbackFailedPolicyAction(TXProcessImpl process, ITXPNode node, ITXPPolicy.Action action) - Specified by:
nodeRollbackFailedPolicyAction
in interfaceITXPLogger
monitorAdded
- Specified by:
monitorAdded
in interfaceITXPLogger
monitorRemoved
- Specified by:
monitorRemoved
in interfaceITXPLogger
nodeTimeoutSignaledPolicyAction
public void nodeTimeoutSignaledPolicyAction(TXProcessImpl process, ITXPNode node, ITXPPolicy.Action action) - Specified by:
nodeTimeoutSignaledPolicyAction
in interfaceITXPLogger
processTimeoutSignaledPolicyAction
- Specified by:
processTimeoutSignaledPolicyAction
in interfaceITXPLogger
localPolicySet
- Specified by:
localPolicySet
in interfaceITXPLogger