com.atomikos.icatch
Interface RecoveryCoordinator

All Superinterfaces:
Serializable
All Known Implementing Classes:
CoordinatorImp

public interface RecoveryCoordinator
extends Serializable

A recoverycoordinator is contacted by an indoubt participant on timeout or restart.


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

Method Detail

replayCompletion

Boolean replayCompletion(Participant participant)
                         throws IllegalStateException
Ask 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 © 2011. All Rights Reserved.