public interface CheckpointStoreUtil
CompletedCheckpointStore
utility interfaces. For example, convert a name(e.g. ZooKeeper
path, key name in Kubernetes ConfigMap) to checkpoint id in Long
format, or vice versa.Modifier and Type | Field and Description |
---|---|
static long |
INVALID_CHECKPOINT_ID |
Modifier and Type | Method and Description |
---|---|
String |
checkpointIDToName(long checkpointId)
Get the name in external storage from checkpoint id.
|
long |
nameToCheckpointID(String name)
Get the checkpoint id from name.
|
static final long INVALID_CHECKPOINT_ID
String checkpointIDToName(long checkpointId)
checkpointId
- checkpoint idlong nameToCheckpointID(String name)
name
- Key name in ConfigMap or child path name in ZooKeeperINVALID_CHECKPOINT_ID
when parsing failed.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.