Package org.apache.flink.util
Interface Disposable
-
- All Known Subinterfaces:
AsyncKeyedStateBackend<K>
,CheckpointableKeyedStateBackend<K>
,InMemorySorter<T>
,KeyedStateBackend<K>
,OperatorStateBackend
,TestableKeyedStateBackend<K>
- All Known Implementing Classes:
AbstractKeyedStateBackend
,AsyncKeyedStateBackendAdaptor
,BatchExecutionKeyedStateBackend
,ChangelogKeyedStateBackend
,CheckpointMetadata
,DefaultOperatorStateBackend
,FixedLengthRecordSorter
,ForStKeyedStateBackend
,ForStSyncKeyedStateBackend
,HeapKeyedStateBackend
,NormalizedKeySorter
,RocksDBKeyedStateBackend
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.
-