com.arjuna.mw.wst.resources
Interface TwoPhaseParticipant
- public interface TwoPhaseParticipant
The TwoPhaseParticipant. As with all traditional TP implementations, the
one-phase commit optimisation is supported.
prepare
public Vote prepare()
throws WrongStateException,
HeuristicHazardException,
HeuristicMixedException,
UnknownTransactionException,
SystemException
- Throws:
WrongStateException
HeuristicHazardException
HeuristicMixedException
UnknownTransactionException
SystemException
commit
public void commit()
throws WrongStateException,
HeuristicHazardException,
HeuristicMixedException,
HeuristicRollbackException,
UnknownTransactionException,
SystemException
- Throws:
WrongStateException
HeuristicHazardException
HeuristicMixedException
HeuristicRollbackException
UnknownTransactionException
SystemException
rollback
public void rollback()
throws WrongStateException,
HeuristicHazardException,
HeuristicMixedException,
HeuristicCommitException,
UnknownTransactionException,
SystemException
- Throws:
WrongStateException
HeuristicHazardException
HeuristicMixedException
HeuristicCommitException
UnknownTransactionException
SystemException
commitOnePhase
public void commitOnePhase()
throws WrongStateException,
HeuristicHazardException,
HeuristicMixedException,
HeuristicRollbackException,
UnknownTransactionException,
SystemException
- Throws:
WrongStateException
HeuristicHazardException
HeuristicMixedException
HeuristicRollbackException
UnknownTransactionException
SystemException