Package org.apache.flink.runtime.state
Class FileMergingSnapshotManagerClosableWrapper
- java.lang.Object
-
- org.apache.flink.runtime.state.FileMergingSnapshotManagerClosableWrapper
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class FileMergingSnapshotManagerClosableWrapper extends Object implements Closeable
A wrapper that wrapsFileMergingSnapshotManager
and aCloseable
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
FileMergingSnapshotManager
get()
static FileMergingSnapshotManagerClosableWrapper
of(FileMergingSnapshotManager snapshotManager, Closeable closeable)
-
-
-
Method Detail
-
of
public static FileMergingSnapshotManagerClosableWrapper of(@Nonnull FileMergingSnapshotManager snapshotManager, @Nonnull Closeable closeable)
-
get
public FileMergingSnapshotManager get()
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-