public enum SuperstepState extends Enum<SuperstepState>
Enum Constant and Description |
---|
ALL_SUPERSTEPS_DONE
All supersteps are complete
|
CHECKPOINT_AND_HALT
Execution halted
|
INITIAL
Nothing happened yet
|
THIS_SUPERSTEP_DONE
This superstep completed correctly
|
WORKER_FAILURE
A worker died during this superstep
|
Modifier and Type | Method and Description |
---|---|
boolean |
isExecutionComplete()
Returns true if execution has to be stopped after this
superstep.
|
static SuperstepState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SuperstepState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SuperstepState INITIAL
public static final SuperstepState WORKER_FAILURE
public static final SuperstepState THIS_SUPERSTEP_DONE
public static final SuperstepState ALL_SUPERSTEPS_DONE
public static final SuperstepState CHECKPOINT_AND_HALT
public static SuperstepState[] values()
for (SuperstepState c : SuperstepState.values()) System.out.println(c);
public static SuperstepState 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 isExecutionComplete()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.