public class FsCheckpointStateToolset extends Object implements CheckpointStateToolset
CheckpointStateToolset that does file based duplicating with as
DuplicatingFileSystem.| 构造器和说明 |
|---|
FsCheckpointStateToolset(org.apache.flink.core.fs.Path basePath,
org.apache.flink.core.fs.DuplicatingFileSystem fs) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
canFastDuplicate(StreamStateHandle stateHandle)
Tells if we can duplicate the given
StreamStateHandle. |
List<StreamStateHandle> |
duplicate(List<StreamStateHandle> stateHandles)
Duplicates
StreamStateHandles into the path embedded inside of the
class. |
public FsCheckpointStateToolset(org.apache.flink.core.fs.Path basePath,
org.apache.flink.core.fs.DuplicatingFileSystem fs)
public boolean canFastDuplicate(StreamStateHandle stateHandle) throws IOException
CheckpointStateToolsetStreamStateHandle.
This should be a rather cheap operation, preferably not involving any remote accesses.
canFastDuplicate 在接口中 CheckpointStateToolsetstateHandle - The handle to duplicateIOExceptionpublic List<StreamStateHandle> duplicate(List<StreamStateHandle> stateHandles) throws IOException
CheckpointStateToolsetStreamStateHandles into the path embedded inside of the
class.
You should first check if you can duplicate with CheckpointStateToolset.canFastDuplicate(StreamStateHandle).
duplicate 在接口中 CheckpointStateToolsetstateHandles - The handles to duplicateIOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.