public enum JobManagerMode extends Enum<JobManagerMode>
Enum Constant and Description |
---|
CLUSTER
Starts the JobManager in the regular mode where it waits for external TaskManagers
to connect.
|
LOCAL
Causes the JobManager to operate in single user mode and
start a local embedded TaskManager.
|
Modifier and Type | Method and Description |
---|---|
static JobManagerMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobManagerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobManagerMode LOCAL
public static final JobManagerMode CLUSTER
public static JobManagerMode[] values()
for (JobManagerMode c : JobManagerMode.values()) System.out.println(c);
public static JobManagerMode 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–2019 The Apache Software Foundation. All rights reserved.