org.objectweb.jotm
Interface Coordinator
- All Superinterfaces:
- Remote
- All Known Implementing Classes:
- ControlImpl
- public interface Coordinator
- extends Remote
OTS-like Coordinator.
- Author:
- jmesnil
- See Also:
- OTS Coordinator
get_status
public int get_status()
throws RemoteException
- Returns:
- status
- Throws:
RemoteException
- if a remote exception occurs
is_same_transaction
public boolean is_same_transaction(Coordinator tc)
throws RemoteException
- Parameters:
tc
- Coordinator
- Returns:
true
if transaction is the same than for
tc
- Throws:
RemoteException
- if a remote exception occurs
register_resource
public RecoveryCoordinator register_resource(Resource r)
throws RemoteException
- Parameters:
r
- Resource
- Returns:
- RecoveryCoordinator
- Throws:
RemoteException
- if a remote exception occurs
register_synchronization
public void register_synchronization(RemoteSynchro sync)
throws RemoteException
- Parameters:
sync
- RemoteSynnchro
- Throws:
RemoteException
- if a remote exception occurs
rollback_only
public void rollback_only()
throws RemoteException
- Throws:
RemoteException
- if a remote exception occurs
get_transaction_name
public String get_transaction_name()
throws RemoteException
- Returns:
- transaction name
- Throws:
RemoteException
- if a remote exception occurs