S - type of the returned state object that represents the result of the snapshot *
operation.@FunctionalInterface public static interface SnapshotStrategy.SnapshotResultSupplier<S extends StateObject>
SnapshotResult with an access to a CloseableRegistry for io
tasks that need to be closed when cancelling the async part of the checkpoint.| Modifier and Type | Method and Description |
|---|---|
SnapshotResult<S> |
get(org.apache.flink.core.fs.CloseableRegistry snapshotCloseableRegistry)
Performs the asynchronous part of a checkpoint and returns the snapshot result.
|
SnapshotResult<S> get(org.apache.flink.core.fs.CloseableRegistry snapshotCloseableRegistry) throws Exception
snapshotCloseableRegistry - A registry for io tasks to close on cancel.ExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.