public enum CheckpointedStateScope extends Enum<CheckpointedStateScope>
Different checkpoint storage implementations may treat checkpointed state of different scopes differently, for example put it into different folders or tables.
|Enum Constant and Description|
Exclusive state belongs exclusively to one specific checkpoint / savepoint.
Shared state may belong to more than one checkpoint.
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final CheckpointedStateScope EXCLUSIVE
public static final CheckpointedStateScope SHARED
Shared state is typically used for incremental or differential checkpointing methods, where only deltas are written, and state from prior checkpoints is referenced in newer checkpoints as well.
public static CheckpointedStateScope values()
for (CheckpointedStateScope c : CheckpointedStateScope.values()) System.out.println(c);
public static CheckpointedStateScope valueOf(String name)
name- the name of the enum constant to be returned.
IllegalArgumentException- if this enum type has no constant with the specified name
NullPointerException- if the argument is null
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.