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