public enum CheckpointStatsStatus extends Enum<CheckpointStatsStatus>
| Enum Constant and Description |
|---|
COMPLETED
Checkpoint that has successfully completed.
|
FAILED
Checkpoint that failed.
|
IN_PROGRESS
Checkpoint that is still in progress.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCompleted()
Returns whether the checkpoint has completed successfully.
|
boolean |
isFailed()
Returns whether the checkpoint has failed.
|
boolean |
isInProgress()
Returns whether the checkpoint is in progress.
|
static CheckpointStatsStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckpointStatsStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckpointStatsStatus IN_PROGRESS
public static final CheckpointStatsStatus COMPLETED
public static final CheckpointStatsStatus FAILED
public static CheckpointStatsStatus[] values()
for (CheckpointStatsStatus c : CheckpointStatsStatus.values()) System.out.println(c);
public static CheckpointStatsStatus 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 isInProgress()
true if checkpoint is in progress, false otherwise.public boolean isCompleted()
true if checkpoint has completed, false otherwise.public boolean isFailed()
true if checkpoint has failed, false otherwise.Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.