K - type of the backend keys.public class FullSnapshotAsyncWriter<K> extends Object implements SnapshotStrategy.SnapshotResultSupplier<KeyedStateHandle>
FullSnapshotResources.| Constructor and Description |
|---|
FullSnapshotAsyncWriter(SnapshotType snapshotType,
org.apache.flink.util.function.SupplierWithException<CheckpointStreamWithResultProvider,Exception> checkpointStreamSupplier,
FullSnapshotResources<K> snapshotResources) |
| Modifier and Type | Method and Description |
|---|---|
SnapshotResult<KeyedStateHandle> |
get(org.apache.flink.core.fs.CloseableRegistry snapshotCloseableRegistry)
Performs the asynchronous part of a checkpoint and returns the snapshot result.
|
public FullSnapshotAsyncWriter(@Nonnull SnapshotType snapshotType, @Nonnull org.apache.flink.util.function.SupplierWithException<CheckpointStreamWithResultProvider,Exception> checkpointStreamSupplier, @Nonnull FullSnapshotResources<K> snapshotResources)
public SnapshotResult<KeyedStateHandle> get(org.apache.flink.core.fs.CloseableRegistry snapshotCloseableRegistry) throws Exception
SnapshotStrategy.SnapshotResultSupplierget in interface SnapshotStrategy.SnapshotResultSupplier<KeyedStateHandle>snapshotCloseableRegistry - A registry for io tasks to close on cancel.ExceptionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.