|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface must be implemented by objects that will be registered to the JTM Coordinator. They may be remote.
Field Summary | |
static int |
VOTE_COMMIT
|
static int |
VOTE_READONLY
|
static int |
VOTE_ROLLBACK
|
Method Summary | |
void |
commit_one_phase()
commit 1 phase. |
void |
commit()
phase 2 of the 2PC. |
void |
forget()
forget heuristics about this transaction. |
int |
prepare()
phase 1 of the 2PC. |
void |
rollback()
rollback transaction |
Field Detail |
public static final int VOTE_COMMIT
public static final int VOTE_ROLLBACK
public static final int VOTE_READONLY
Method Detail |
public int prepare() throws RemoteException
RemoteException
public void rollback() throws RemoteException
RemoteException
public void commit() throws RemoteException
RemoteException
public void commit_one_phase() throws RemoteException
RemoteException
public void forget() throws RemoteException
RemoteException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |