public class SubordinateVolatile2PCStub extends Object implements Volatile2PCParticipant
| Constructor and Description |
|---|
SubordinateVolatile2PCStub(SubordinateATCoordinator coordinator) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
this is called as part of the after completion processing and should ensure that the interposed
coordinator performs its afterCompletion processing
|
void |
error()
this should never get called
|
Vote |
prepare()
This will be called when the parent coordinator is preparing its volatile participants and should ensure
that the interposed cooordinator does the same.
|
void |
rollback()
this is called as part of the after completion processing and should ensure that the interposed
coordinator performs its afterCompletion processing
|
void |
unknown()
this should never get called
|
public SubordinateVolatile2PCStub(SubordinateATCoordinator coordinator)
public Vote prepare() throws WrongStateException, SystemException
prepare in interface ParticipantWrongStateException - if the subordinate coordinator does the sameSystemException - if the subordinate coordinator does the sameVotepublic 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.