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