public class NonPersistentMetadataCheckpointStorageLocation extends MemCheckpointStreamFactory implements CheckpointStorageLocation
MemoryStateBackend in case no durable persistence
for metadata has been configured.MemCheckpointStreamFactory.MemoryCheckpointOutputStreamCheckpointStreamFactory.CheckpointStateOutputStream| Modifier and Type | Field and Description |
|---|---|
static String |
EXTERNAL_POINTER
The external pointer returned for checkpoints that are not externally addressable.
|
| Constructor and Description |
|---|
NonPersistentMetadataCheckpointStorageLocation(int maxStateSize) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
createCheckpointStateOutputStream, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateCheckpointStateOutputStreampublic static final String EXTERNAL_POINTER
public NonPersistentMetadataCheckpointStorageLocation(int maxStateSize)
public CheckpointMetadataOutputStream createMetadataOutputStream() throws IOException
CheckpointStorageLocationcreateMetadataOutputStream in interface CheckpointStorageLocationIOException - Thrown, if the stream cannot be opened due to an I/O error.public void disposeOnFailure()
CheckpointStorageLocationdisposeOnFailure in interface CheckpointStorageLocationpublic CheckpointStorageLocationReference getLocationReference()
CheckpointStorageLocationIf there is no custom location information that needs to be communicated, this method can
simply return CheckpointStorageLocationReference.getDefault().
getLocationReference in interface CheckpointStorageLocationCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.