Package org.apache.flink.util
Interface Disposable
-
public interface Disposable
Interface for classes that can be disposed, i.e. that have a dedicated lifecycle step to "destroy" the object. On reason for this is for example to release native resources. From this point, the interface fulfills a similar purpose as theCloseable
interface, but sometimes both should be represented as isolated, independent lifecycle steps.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dispose()
Disposes the object and releases all resources.
-