com.atomikos.icatch.imp
Class RollbackOnlyParticipant
java.lang.Object
com.atomikos.icatch.imp.RollbackOnlyParticipant
- All Implemented Interfaces:
- Participant, Serializable
public class RollbackOnlyParticipant
- extends Object
- implements Participant
A participant to add in case setRollbackOnly is called. This participant will
never allow commit.
- See Also:
- Serialized Form
recover
public boolean recover()
throws SysException
- Specified by:
recover in interface Participant
- Throws:
SysException- See Also:
Participant
setCascadeList
public void setCascadeList(Dictionary allParticipants)
throws SysException
- Specified by:
setCascadeList in interface Participant
- Throws:
SysException- See Also:
Participant
setGlobalSiblingCount
public void setGlobalSiblingCount(int count)
- Specified by:
setGlobalSiblingCount in interface Participant
- See Also:
Participant
getURI
public String getURI()
- Specified by:
getURI in interface Participant
- See Also:
Participant
prepare
public int prepare()
throws RollbackException,
HeurHazardException,
HeurMixedException,
SysException
- Specified by:
prepare in interface Participant
- Throws:
RollbackException
HeurHazardException
HeurMixedException
SysException- See Also:
Participant
commit
public void commit(boolean onePhase)
throws HeurRollbackException,
HeurHazardException,
HeurMixedException,
RollbackException,
SysException
- Specified by:
commit in interface Participant
- Throws:
HeurRollbackException
HeurHazardException
HeurMixedException
RollbackException
SysException- See Also:
Participant
rollback
public void rollback()
throws HeurCommitException,
HeurMixedException,
HeurHazardException,
SysException
- Specified by:
rollback in interface Participant
- Throws:
HeurCommitException
HeurMixedException
HeurHazardException
SysException- See Also:
Participant
forget
public void forget()
- Specified by:
forget in interface Participant
- See Also:
Participant
toString
public String toString()
- Overrides:
toString in class Object
isRecoverable
public boolean isRecoverable()
- Specified by:
isRecoverable in interface Participant
getResourceName
public String getResourceName()
- Specified by:
getResourceName in interface Participant
Copyright © 2016. All Rights Reserved.