Package com.iizix.txp.impl
Interface ITXPLogger
- All Superinterfaces:
ITXPBasicLogger
- All Known Implementing Classes:
TXPLogger
public interface ITXPLogger extends ITXPBasicLogger
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
Methods inherited from interface com.iizix.txp.impl.ITXPBasicLogger
error, fatal, info, warning
Method Detail
processCreated
void processCreated(TXProcessImpl process)
getProcessLogger
ITXProcessLogger getProcessLogger(TXProcessImpl process)
newProcess
void newProcess(TXProcessImpl process)
processCompleted
void processCompleted(TXProcessImpl process)
setLastState
ITXProcess.State setLastState(ITXProcess.State state)
usePolicy
ITXPPolicy usePolicy(ITXPPolicy policy)
nodeReadyFailedPolicyAction
void nodeReadyFailedPolicyAction(TXProcessImpl process, ITXPNode node, ITXPPolicy.Action action)
commitCanceled
void commitCanceled(TXProcessImpl process, TXPException reason)
rollbackCanceled
void rollbackCanceled(TXProcessImpl process, TXPException reason)
nodeCommitFailedPolicyAction
void nodeCommitFailedPolicyAction(TXProcessImpl process, ITXPNode node, ITXPPolicy.Action action)
heuristicMixed
void heuristicMixed(TXProcessImpl process)
nodeRollbackFailedPolicyAction
void nodeRollbackFailedPolicyAction(TXProcessImpl process, ITXPNode node, ITXPPolicy.Action action)
monitorAdded
void monitorAdded(ITXPMonitor monitor)
monitorRemoved
void monitorRemoved(ITXPMonitor monitor)
nodeTimeoutSignaledPolicyAction
void nodeTimeoutSignaledPolicyAction(TXProcessImpl process, ITXPNode node, ITXPPolicy.Action action)
processTimeoutSignaledPolicyAction
void processTimeoutSignaledPolicyAction(TXProcessImpl process, ITXPPolicy.Action action)
localPolicySet
void localPolicySet(TXProcessImpl process, ITXPPolicy policy)