public static enum MesosWorkerStore.WorkerState extends Enum<MesosWorkerStore.WorkerState>
Enum Constant and Description |
---|
Launched
Indicates that the worker is launched.
|
New
Indicates that the worker is new (not yet launched).
|
Released
Indicates that the worker is released.
|
Modifier and Type | Method and Description |
---|---|
static MesosWorkerStore.WorkerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MesosWorkerStore.WorkerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MesosWorkerStore.WorkerState New
public static final MesosWorkerStore.WorkerState Launched
public static final MesosWorkerStore.WorkerState Released
public static MesosWorkerStore.WorkerState[] values()
for (MesosWorkerStore.WorkerState c : MesosWorkerStore.WorkerState.values()) System.out.println(c);
public static MesosWorkerStore.WorkerState 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 nullCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.