org.eclipse.jetty.util.component.Destroyable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jetty-util Show documentation
Show all versions of jetty-util Show documentation
Utility classes for Jetty
package org.eclipse.jetty.util.component;
/**
* A Destroyable is an object which can be destroyed.
* Typically a Destroyable is a {@link LifeCycle} component that can hold onto
* resources over multiple start/stop cycles. A call to destroy will release all
* resources and will prevent any further start/stop cycles from being successful.
*/
public interface Destroyable
{
void destroy();
}