public enum DriverRestartState extends Enum<DriverRestartState>
Enum Constant and Description |
---|
BEGAN
Driver has been notified of the restart by the runtime, but has not yet
received its set of evaluator IDs to recover yet.
|
COMPLETED
Driver has recovered all the evaluator IDs that it can, and the restart process is completed.
|
IN_PROGRESS
Driver has received its set of evaluator IDs to recover.
|
NOT_RESTARTED
Driver has not begun the restart progress yet.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNotRestarted()
the negation of
hasRestarted() . |
boolean |
hasRestarted() |
boolean |
isRestarting() |
static DriverRestartState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DriverRestartState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DriverRestartState NOT_RESTARTED
public static final DriverRestartState BEGAN
public static final DriverRestartState IN_PROGRESS
public static final DriverRestartState COMPLETED
public static DriverRestartState[] values()
for (DriverRestartState c : DriverRestartState.values()) System.out.println(c);
public static DriverRestartState 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 isRestarting()
public boolean hasRestarted()
public boolean hasNotRestarted()
hasRestarted()
.Copyright © 2017 The Apache Software Foundation. All rights reserved.