com.atomikos.icatch
Interface RecoveryCoordinator

All Superinterfaces:
Serializable
All Known Implementing Classes:
CoordinatorImp, MessageRecoveryCoordinator

public interface RecoveryCoordinator
extends Serializable

A handle to contact by an indoubt participant on timeout or restart, to resolve the outcome.


Method Summary
 String getURI()
          Gets the URI identifier for this coordinator.
 Boolean replayCompletion(Participant participant)
          Asks for a repetition of completion.
 

Method Detail

replayCompletion

Boolean replayCompletion(Participant participant)
                         throws IllegalStateException
Asks for a repetition of completion.

Parameters:
participant - The indoubt participant asking for replay
Returns:
Boolean Null if decision not know to coordinator yet; True if commit is known, False if abort is known.
Throws:
IllegalStateException - If no prepare was done for the participant asking the replay.

getURI

String getURI()
Gets the URI identifier for this coordinator.

Returns:
String The URI identifier.


Copyright © 2012. All Rights Reserved.