public class BridgeVolatileParticipant extends Object implements Volatile2PCParticipant
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Perform afterCompletion cleanup activities such as releasing resources.
|
void |
error()
VolatileParticipants don't support recovery, so this should never be called.
|
Vote |
prepare()
Perform beforeCompletion activities such as flushing cached state to stable store.
|
void |
rollback()
Perform afterCompletion cleanup activities such as releasing resources.
|
void |
unknown()
Deprecated, should never be called.
|
public Vote prepare() throws WrongStateException, SystemException
prepare in interface ParticipantWrongStateExceptionSystemExceptionVotepublic void commit()
throws WrongStateException,
SystemException
commit in interface ParticipantWrongStateExceptionSystemExceptionpublic void rollback()
throws WrongStateException,
SystemException
rollback in interface ParticipantWrongStateExceptionSystemExceptionpublic void unknown()
throws SystemException
unknown in interface ParticipantSystemExceptionpublic void error()
throws SystemException
error in interface ParticipantSystemExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.