com.atomikos.icatch
Interface RecoveryCoordinator

All Superinterfaces:
java.io.Serializable

public interface RecoveryCoordinator
extends java.io.Serializable

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


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

Method Detail

replayCompletion

java.lang.Boolean replayCompletion(Participant participant)
                                   throws java.lang.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:
java.lang.IllegalStateException - If no prepare was done for the participant asking the replay.

getURI

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

Returns:
String The URI identifier.


Copyright © 2016. All Rights Reserved.