public enum CheckpointStatsStatus extends Enum<CheckpointStatsStatus>
| 枚举常量和说明 |
|---|
COMPLETED
Checkpoint that has successfully completed.
|
FAILED
Checkpoint that failed.
|
IN_PROGRESS
Checkpoint that is still in progress.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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)
返回带有指定名称的该类型的枚举常量。
|
static CheckpointStatsStatus[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public 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–2023 The Apache Software Foundation. All rights reserved.