public enum KubernetesCheckpointStoreUtil extends Enum<KubernetesCheckpointStoreUtil> implements org.apache.flink.runtime.checkpoint.CheckpointStoreUtil
CheckpointStoreUtil implementation for Kubernetes.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
String |
checkpointIDToName(long checkpointId)
Convert a checkpoint id into a ConfigMap key.
|
long |
nameToCheckpointID(String key)
Converts a key in ConfigMap to the checkpoint id.
|
static KubernetesCheckpointStoreUtil |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KubernetesCheckpointStoreUtil[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KubernetesCheckpointStoreUtil INSTANCE
public static KubernetesCheckpointStoreUtil[] values()
for (KubernetesCheckpointStoreUtil c : KubernetesCheckpointStoreUtil.values()) System.out.println(c);
public static KubernetesCheckpointStoreUtil valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String checkpointIDToName(long checkpointId)
checkpointIDToName in interface org.apache.flink.runtime.checkpoint.CheckpointStoreUtilcheckpointId - to convert to the keypublic long nameToCheckpointID(String key)
nameToCheckpointID in interface org.apache.flink.runtime.checkpoint.CheckpointStoreUtilkey - in ConfigMapCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.