org.omg.CosTransactions
Interface RecoveryCoordinatorOperations
- All Known Subinterfaces:
- RecoveryCoordinator
- All Known Implementing Classes:
- _RecoveryCoordinatorStub, RecoveryCoordinatorPOA
- public interface RecoveryCoordinatorOperations
A recoverable object uses a RecoveryCoordinator to drive the recovery process in
certain situations. The object reference for an object supporting the
RecoveryCoordinator interface, as returned by the register_resource operation, is
implicitly associated with a single resource registration request and may only be used
by that resource.
replay_completion
public Status replay_completion(Resource r)
throws NotPrepared
- This operation can be invoked at any time after the associated resource has been
prepared. The Resource must be passed as the parameter. Performing this operation
provides a hint to the Coordinator that the commit or rollback operations have not been
performed on the resource. This hint may be required in certain failure cases. This non-blocking
operation returns the current status of the transaction. The NotPrepared
exception is raised if the resource has not been prepared.
- Throws:
NotPrepared