public enum CheckpointType extends Enum<CheckpointType>
Modifier and Type | Class and Description |
---|---|
static class |
CheckpointType.PostCheckpointAction
What's the intended action after the checkpoint (relevant for stopping with savepoint).
|
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
CheckpointType.PostCheckpointAction |
getPostCheckpointAction() |
boolean |
isSavepoint() |
boolean |
isSynchronous() |
boolean |
shouldAdvanceToEndOfTime() |
boolean |
shouldIgnoreEndOfInput() |
static CheckpointType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckpointType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- 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 boolean isSavepoint()
public boolean isSynchronous()
public CheckpointType.PostCheckpointAction getPostCheckpointAction()
public boolean shouldAdvanceToEndOfTime()
public boolean shouldIgnoreEndOfInput()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.