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
Vote prepare()
throws WrongStateException,
HeuristicHazardException,
HeuristicMixedException,
UnknownTransactionException,
SystemException
- Throws:
WrongStateException
HeuristicHazardException
HeuristicMixedException
UnknownTransactionException
SystemException
commit
void commit()
throws WrongStateException,
HeuristicHazardException,
HeuristicMixedException,
HeuristicRollbackException,
UnknownTransactionException,
SystemException
- Throws:
WrongStateException
HeuristicHazardException
HeuristicMixedException
HeuristicRollbackException
UnknownTransactionException
SystemException
rollback
void rollback()
throws WrongStateException,
HeuristicHazardException,
HeuristicMixedException,
HeuristicCommitException,
UnknownTransactionException,
SystemException
- Throws:
WrongStateException
HeuristicHazardException
HeuristicMixedException
HeuristicCommitException
UnknownTransactionException
SystemException
commitOnePhase
void commitOnePhase()
throws WrongStateException,
HeuristicHazardException,
HeuristicMixedException,
HeuristicRollbackException,
UnknownTransactionException,
SystemException
- Throws:
WrongStateException
HeuristicHazardException
HeuristicMixedException
HeuristicRollbackException
UnknownTransactionException
SystemException