public class NonPersistentMetadataCheckpointStorageLocation extends MemCheckpointStreamFactory implements CheckpointStorageLocation
MemoryStateBackend in case no durable persistence
for metadata has been configured.MemCheckpointStreamFactory.MemoryCheckpointOutputStream| 限定符和类型 | 字段和说明 |
|---|---|
static String |
EXTERNAL_POINTER
The external pointer returned for checkpoints that are not externally addressable.
|
| 构造器和说明 |
|---|
NonPersistentMetadataCheckpointStorageLocation(int maxStateSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
CheckpointMetadataOutputStream |
createMetadataOutputStream()
Creates the output stream to persist the checkpoint metadata to.
|
void |
disposeOnFailure()
Disposes the checkpoint location in case the checkpoint has failed.
|
CheckpointStorageLocationReference |
getLocationReference()
Gets a reference to the storage location.
|
canFastDuplicate, createCheckpointStateOutputStream, duplicate, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanFastDuplicate, createCheckpointStateOutputStream, duplicatepublic NonPersistentMetadataCheckpointStorageLocation(int maxStateSize)
public CheckpointMetadataOutputStream createMetadataOutputStream() throws IOException
CheckpointStorageLocationcreateMetadataOutputStream 在接口中 CheckpointStorageLocationIOException - Thrown, if the stream cannot be opened due to an I/O error.public void disposeOnFailure()
CheckpointStorageLocationdisposeOnFailure 在接口中 CheckpointStorageLocationpublic CheckpointStorageLocationReference getLocationReference()
CheckpointStorageLocationIf there is no custom location information that needs to be communicated, this method can
simply return CheckpointStorageLocationReference.getDefault().
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.