public static enum ExecutorServiceBuilder.RpcExecutorHost extends Enum<ExecutorServiceBuilder.RpcExecutorHost>
Enum Constant and Description |
---|
JOB_MASTER |
MASTER |
MASTER_SECURE |
SECURITY_SERVICE |
WORKER |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ExecutorServiceBuilder.RpcExecutorHost |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutorServiceBuilder.RpcExecutorHost[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutorServiceBuilder.RpcExecutorHost MASTER
public static final ExecutorServiceBuilder.RpcExecutorHost JOB_MASTER
public static final ExecutorServiceBuilder.RpcExecutorHost WORKER
public static final ExecutorServiceBuilder.RpcExecutorHost MASTER_SECURE
public static final ExecutorServiceBuilder.RpcExecutorHost SECURITY_SERVICE
public static ExecutorServiceBuilder.RpcExecutorHost[] values()
for (ExecutorServiceBuilder.RpcExecutorHost c : ExecutorServiceBuilder.RpcExecutorHost.values()) System.out.println(c);
public static ExecutorServiceBuilder.RpcExecutorHost 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 String toString()
toString
in class Enum<ExecutorServiceBuilder.RpcExecutorHost>
Copyright © 2023. All Rights Reserved.