public interface Coordinator
extends java.rmi.Remote
Modifier and Type | Method and Description |
---|---|
int |
get_status() |
java.lang.String |
get_transaction_name() |
boolean |
is_same_transaction(Coordinator tc) |
RecoveryCoordinator |
register_resource(Resource r) |
void |
register_synchronization(RemoteSynchro sync) |
void |
rollback_only() |
int get_status() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a remote exception occursboolean is_same_transaction(Coordinator tc) throws java.rmi.RemoteException
tc
- Coordinatortrue
if transaction is the same than for
tc
java.rmi.RemoteException
- if a remote exception occursRecoveryCoordinator register_resource(Resource r) throws java.rmi.RemoteException
r
- Resourcejava.rmi.RemoteException
- if a remote exception occursvoid register_synchronization(RemoteSynchro sync) throws java.rmi.RemoteException
sync
- RemoteSynnchrojava.rmi.RemoteException
- if a remote exception occursvoid rollback_only() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a remote exception occursjava.lang.String get_transaction_name() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a remote exception occurs