public class FsCompletedCheckpointStorageLocation extends Object implements CompletedCheckpointStorageLocation
CompletedCheckpointStorageLocation that resides on a file system. This location is
internally represented through the checkpoint directory plus the metadata file.| 构造器和说明 |
|---|
FsCompletedCheckpointStorageLocation(org.apache.flink.core.fs.FileSystem fs,
org.apache.flink.core.fs.Path exclusiveCheckpointDir,
FileStateHandle metadataFileHandle,
String externalPointer) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
disposeStorageLocation()
Disposes the storage location.
|
org.apache.flink.core.fs.Path |
getExclusiveCheckpointDir() |
String |
getExternalPointer()
Gets the external pointer to the checkpoint.
|
FileStateHandle |
getMetadataHandle()
Gets the state handle to the checkpoint's metadata.
|
public FsCompletedCheckpointStorageLocation(org.apache.flink.core.fs.FileSystem fs,
org.apache.flink.core.fs.Path exclusiveCheckpointDir,
FileStateHandle metadataFileHandle,
String externalPointer)
public String getExternalPointer()
CompletedCheckpointStorageLocationpublic org.apache.flink.core.fs.Path getExclusiveCheckpointDir()
public FileStateHandle getMetadataHandle()
CompletedCheckpointStorageLocationpublic void disposeStorageLocation()
throws IOException
CompletedCheckpointStorageLocationCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.