Interface CheckpointStoreUtil

    • Method Detail

      • checkpointIDToName

        String checkpointIDToName​(long checkpointId)
        Get the name in external storage from checkpoint id.
        Parameters:
        checkpointId - checkpoint id
        Returns:
        Key name in ConfigMap or child path name in ZooKeeper
      • nameToCheckpointID

        long nameToCheckpointID​(String name)
        Get the checkpoint id from name.
        Parameters:
        name - Key name in ConfigMap or child path name in ZooKeeper
        Returns:
        parsed checkpoint id. Or INVALID_CHECKPOINT_ID when parsing failed.