public enum CheckpointType extends Enum<CheckpointType>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CheckpointType.PostCheckpointAction
What's the intended action after the checkpoint (relevant for stopping with savepoint).
|
| 枚举常量和说明 |
|---|
CHECKPOINT
A checkpoint, full or incremental.
|
SAVEPOINT
A regular savepoint.
|
SAVEPOINT_SUSPEND
A savepoint taken while suspending the job.
|
SAVEPOINT_TERMINATE
A savepoint taken while terminating the job.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getName() |
CheckpointType.PostCheckpointAction |
getPostCheckpointAction() |
boolean |
isSavepoint() |
boolean |
isSynchronous() |
boolean |
shouldAdvanceToEndOfTime() |
boolean |
shouldDrain() |
boolean |
shouldIgnoreEndOfInput() |
static CheckpointType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CheckpointType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final CheckpointType CHECKPOINT
public static final CheckpointType SAVEPOINT
public static final CheckpointType SAVEPOINT_SUSPEND
public static final CheckpointType SAVEPOINT_TERMINATE
public static CheckpointType[] values()
for (CheckpointType c : CheckpointType.values()) System.out.println(c);
public static CheckpointType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public boolean isSavepoint()
public boolean isSynchronous()
public CheckpointType.PostCheckpointAction getPostCheckpointAction()
public boolean shouldAdvanceToEndOfTime()
public boolean shouldDrain()
public boolean shouldIgnoreEndOfInput()
public String getName()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.