All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atomikos.icatch.RecoveryCoordinator Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
/**
 * Copyright (C) 2000-2016 Atomikos 
 *
 * LICENSE CONDITIONS
 *
 * See http://www.atomikos.com/Main/WhichLicenseApplies for details.
 */

package com.atomikos.icatch;


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

public interface RecoveryCoordinator extends java.io.Serializable
{

    /**
     * Asks for a repetition of completion.
     * @param participant The indoubt  participant asking for replay
     * @return Boolean Null if decision not know to coordinator yet;
     * True if commit is known, False if abort is known.
     * @exception IllegalStateException If no prepare was done for the 
     * participant asking the replay.
     */

     Boolean replayCompletion ( Participant participant )
        throws IllegalStateException;
    
     /**
      * Gets the URI identifier for this coordinator.
      * @return String The URI identifier.
      */
      
     String getURI();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy