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.| Constructor and Description |
|---|
FsCompletedCheckpointStorageLocation(org.apache.flink.core.fs.FileSystem fs,
org.apache.flink.core.fs.Path exclusiveCheckpointDir,
FileStateHandle metadataFileHandle,
String externalPointer) |
| Modifier and Type | Method and Description |
|---|---|
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()
CompletedCheckpointStorageLocationgetExternalPointer in interface CompletedCheckpointStorageLocationpublic org.apache.flink.core.fs.Path getExclusiveCheckpointDir()
public FileStateHandle getMetadataHandle()
CompletedCheckpointStorageLocationgetMetadataHandle in interface CompletedCheckpointStorageLocationpublic void disposeStorageLocation()
throws IOException
CompletedCheckpointStorageLocationdisposeStorageLocation in interface CompletedCheckpointStorageLocationIOExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.