Package com.iizix.txp.impl
Class TXPLogger
- java.lang.Object
- com.iizix.txp.impl.TXPLogger
- All Implemented Interfaces:
ITXPBasicLogger
,ITXPLogger
public class TXPLogger extends java.lang.Object implements ITXPLogger
- Author:
- fREGGLE
Constructor Summary
Constructors Constructor Description TXPLogger()
Method Summary
Method Detail
expand
protected TXPException expand(java.lang.String m, java.lang.Throwable t)
fatal
public TXPException fatal(java.lang.String message, java.lang.Throwable t)
- Specified by:
fatal
in interfaceITXPBasicLogger
error
public TXPException error(java.lang.String message, java.lang.Throwable t)
- Specified by:
error
in interfaceITXPBasicLogger
warning
public TXPException warning(java.lang.String message, java.lang.Throwable t)
- Specified by:
warning
in interfaceITXPBasicLogger
info
public java.lang.String info(java.lang.String message)
- Specified by:
info
in interfaceITXPBasicLogger
getProcessLogger
public ITXProcessLogger getProcessLogger(TXProcessImpl process)
- Specified by:
getProcessLogger
in interfaceITXPLogger
setLastState
public ITXProcess.State setLastState(ITXProcess.State state)
- Specified by:
setLastState
in interfaceITXPLogger
usePolicy
public ITXPPolicy usePolicy(ITXPPolicy policy)
- Specified by:
usePolicy
in interfaceITXPLogger
processCreated
public void processCreated(TXProcessImpl process)
- Specified by:
processCreated
in interfaceITXPLogger
newProcess
public void newProcess(TXProcessImpl process)
- Specified by:
newProcess
in interfaceITXPLogger
processCompleted
public void processCompleted(TXProcessImpl process)
- Specified by:
processCompleted
in interfaceITXPLogger
nodeReadyFailedPolicyAction
public void nodeReadyFailedPolicyAction(TXProcessImpl process, ITXPNode node, ITXPPolicy.Action action)
- Specified by:
nodeReadyFailedPolicyAction
in interfaceITXPLogger
commitCanceled
public void commitCanceled(TXProcessImpl process, TXPException reason)
- Specified by:
commitCanceled
in interfaceITXPLogger
rollbackCanceled
public void rollbackCanceled(TXProcessImpl process, TXPException reason)
- Specified by:
rollbackCanceled
in interfaceITXPLogger
nodeCommitFailedPolicyAction
public void nodeCommitFailedPolicyAction(TXProcessImpl process, ITXPNode node, ITXPPolicy.Action action)
- Specified by:
nodeCommitFailedPolicyAction
in interfaceITXPLogger
heuristicMixed
public void heuristicMixed(TXProcessImpl process)
- Specified by:
heuristicMixed
in interfaceITXPLogger
nodeRollbackFailedPolicyAction
public void nodeRollbackFailedPolicyAction(TXProcessImpl process, ITXPNode node, ITXPPolicy.Action action)
- Specified by:
nodeRollbackFailedPolicyAction
in interfaceITXPLogger
monitorAdded
public void monitorAdded(ITXPMonitor monitor)
- Specified by:
monitorAdded
in interfaceITXPLogger
monitorRemoved
public void monitorRemoved(ITXPMonitor monitor)
- Specified by:
monitorRemoved
in interfaceITXPLogger
nodeTimeoutSignaledPolicyAction
public void nodeTimeoutSignaledPolicyAction(TXProcessImpl process, ITXPNode node, ITXPPolicy.Action action)
- Specified by:
nodeTimeoutSignaledPolicyAction
in interfaceITXPLogger
processTimeoutSignaledPolicyAction
public void processTimeoutSignaledPolicyAction(TXProcessImpl process, ITXPPolicy.Action action)
- Specified by:
processTimeoutSignaledPolicyAction
in interfaceITXPLogger
localPolicySet
public void localPolicySet(TXProcessImpl process, ITXPPolicy policy)
- Specified by:
localPolicySet
in interfaceITXPLogger