public static enum SparkAppHandle.State extends Enum<SparkAppHandle.State>
| Enum Constant and Description | 
|---|
| CONNECTEDThe application has connected to the handle. | 
| FAILEDThe application finished with a failed status. | 
| FINISHEDThe application finished with a successful status. | 
| KILLEDThe application was killed. | 
| LOSTThe Spark Submit JVM exited with a unknown status. | 
| RUNNINGThe application is running. | 
| SUBMITTEDThe application has been submitted to the cluster. | 
| UNKNOWNThe application has not reported back yet. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | isFinal()Whether this state is a final state, meaning the application is not running anymore
 once it's reached. | 
| static SparkAppHandle.State | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static SparkAppHandle.State[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final SparkAppHandle.State UNKNOWN
public static final SparkAppHandle.State CONNECTED
public static final SparkAppHandle.State SUBMITTED
public static final SparkAppHandle.State RUNNING
public static final SparkAppHandle.State FINISHED
public static final SparkAppHandle.State FAILED
public static final SparkAppHandle.State KILLED
public static final SparkAppHandle.State LOST
public static SparkAppHandle.State[] values()
for (SparkAppHandle.State c : SparkAppHandle.State.values()) System.out.println(c);
public static SparkAppHandle.State 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 isFinal()