org.openorb.ots.Impl

Class RecoveryCoordinator

public class RecoveryCoordinator extends RecoveryCoordinatorPOA

This class is the implementation of the recovery coordinator interface.

Author: Jerome Daniel

Constructor Summary
RecoveryCoordinator(ORB orb, Logger logger)
Constructor
Method Summary
Statusreplay_completion(Resource r)
This operation can be invoked at any time after the associated resource has been prepared.

Constructor Detail

RecoveryCoordinator

public RecoveryCoordinator(ORB orb, Logger logger)
Constructor

Method Detail

replay_completion

public Status replay_completion(Resource r)
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.