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.
| 枚举常量和说明 |
|---|
EXCLUSIVE
Exclusive state belongs exclusively to one specific checkpoint / savepoint.
|
SHARED
Shared state may belong to more than one checkpoint.
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.