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

delight.concurrency.schedule.ShutdownCallback Maven / Gradle / Ivy

The newest version!
/*******************************************************************************
 * Copyright 2011 Max Erik Rohde http://www.mxro.de
 * 
 * All rights reserved.
 ******************************************************************************/
package delight.concurrency.schedule;

/**
 * Callback, which can be used, when a service provider is shut down.
 * 
 * @author Max Rohde
 * 
 */
@Deprecated
public interface ShutdownCallback {

    /**
     * This method is called when the shutdown could be completed successfully.
     */
    public void onShutdownComplete();

    /**
     * This method is called when an error occurs in the shutdown process.
     * 
     * @param t
     */
    public void onFailure(Throwable t);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy