public enum CheckpointType extends Enum<CheckpointType>
Enum Constant and Description |
---|
CHECKPOINT
A checkpoint, full or incremental.
|
SAVEPOINT
A regular savepoint.
|
SYNC_SAVEPOINT
A savepoint taken while suspending/terminating the job.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSavepoint() |
boolean |
isSynchronous() |
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 SYNC_SAVEPOINT
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()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.