Package org.apache.flink.runtime.state
Class FileMergingSnapshotManagerClosableWrapper
java.lang.Object
org.apache.flink.runtime.state.FileMergingSnapshotManagerClosableWrapper
- All Implemented Interfaces:
Closeable,AutoCloseable
A wrapper that wraps
FileMergingSnapshotManager and a Closeable.-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()get()of(FileMergingSnapshotManager snapshotManager, Closeable closeable)
-
Method Details
-
of
public static FileMergingSnapshotManagerClosableWrapper of(@Nonnull FileMergingSnapshotManager snapshotManager, @Nonnull Closeable closeable) -
get
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-