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
Exclusive state belongs exclusively to one specific checkpoint / savepoint.
|
SHARED
Shared state may belong to more than one checkpoint.
|
Modifier and Type | Method and Description |
---|---|
static CheckpointedStateScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckpointedStateScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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 nameNullPointerException
- if the argument is nullCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.