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 Participant
WrongStateException
SystemException
Vote
public void commit() throws WrongStateException, SystemException
commit
in interface Participant
WrongStateException
SystemException
public void rollback() throws WrongStateException, SystemException
rollback
in interface Participant
WrongStateException
SystemException
public void unknown() throws SystemException
unknown
in interface Participant
SystemException
public void error() throws SystemException
error
in interface Participant
SystemException
Copyright © 2017 JBoss by Red Hat. All rights reserved.