K - type of the backend keys.public class FullSnapshotAsyncWriter<K> extends Object implements SnapshotStrategy.SnapshotResultSupplier<KeyedStateHandle>
FullSnapshotResources.| 构造器和说明 |
|---|
FullSnapshotAsyncWriter(SnapshotType snapshotType,
org.apache.flink.util.function.SupplierWithException<CheckpointStreamWithResultProvider,Exception> checkpointStreamSupplier,
FullSnapshotResources<K> snapshotResources) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 SnapshotStrategy.SnapshotResultSupplier<KeyedStateHandle>snapshotCloseableRegistry - A registry for io tasks to close on cancel.ExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.