public class SubTransactionCoordinatorParticipant extends java.lang.Object implements Participant
READ_ONLY
Constructor and Description |
---|
SubTransactionCoordinatorParticipant(CoordinatorImp subordinateCoordinator) |
Modifier and Type | Method and Description |
---|---|
void |
commit(boolean onePhase) |
void |
forget() |
java.lang.String |
getResourceName() |
java.lang.String |
getURI() |
int |
prepare() |
void |
rollback() |
void |
setCascadeList(java.util.Map<java.lang.String,java.lang.Integer> allParticipants) |
void |
setGlobalSiblingCount(int count) |
public SubTransactionCoordinatorParticipant(CoordinatorImp subordinateCoordinator)
public java.lang.String getURI()
getURI
in interface Participant
Participant.getURI()
public void setCascadeList(java.util.Map<java.lang.String,java.lang.Integer> allParticipants) throws SysException
setCascadeList
in interface Participant
SysException
public void setGlobalSiblingCount(int count)
setGlobalSiblingCount
in interface Participant
Participant.setGlobalSiblingCount(int)
public int prepare() throws RollbackException, HeurHazardException, HeurMixedException, SysException
prepare
in interface Participant
RollbackException
HeurHazardException
HeurMixedException
SysException
Participant.prepare()
public void commit(boolean onePhase) throws HeurRollbackException, HeurHazardException, HeurMixedException, RollbackException, SysException
commit
in interface Participant
HeurRollbackException
HeurHazardException
HeurMixedException
RollbackException
SysException
Participant.commit(boolean)
public void rollback() throws HeurCommitException, HeurMixedException, HeurHazardException, SysException
rollback
in interface Participant
HeurCommitException
HeurMixedException
HeurHazardException
SysException
Participant.rollback()
public void forget()
forget
in interface Participant
Participant.forget()
public java.lang.String getResourceName()
getResourceName
in interface Participant
Copyright © 2020. All Rights Reserved.