Package org.apache.flink.util
Interface Disposable
-
public interface DisposableInterface 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 theCloseableinterface, but sometimes both should be represented as isolated, independent lifecycle steps.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddispose()Disposes the object and releases all resources.
-