
delight.concurrency.schedule.ShutdownCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of delight-concurrency Show documentation
Show all versions of delight-concurrency Show documentation
An abstract and lightweight definition of concurrency fundamentals.
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