@InterfaceAudience.Private public enum ImplType extends Enum<ImplType>
| Enum Constant and Description |
|---|
HS_HA |
NONBLOCKING |
THREAD_POOL |
THREADED_SELECTOR |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getOption() |
static ImplType |
getServerImpl(org.apache.hadoop.conf.Configuration conf) |
boolean |
isAlwaysFramed() |
static List<String> |
serversThatCannotSpecifyBindIP() |
String |
simpleClassName() |
String |
toString() |
static ImplType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImplType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImplType HS_HA
public static final ImplType NONBLOCKING
public static final ImplType THREAD_POOL
public static final ImplType THREADED_SELECTOR
public static final ImplType DEFAULT
public static ImplType[] values()
for (ImplType c : ImplType.values()) System.out.println(c);
public static ImplType 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 getOption()
public boolean isAlwaysFramed()
public String getDescription()
public static ImplType getServerImpl(org.apache.hadoop.conf.Configuration conf)
public String simpleClassName()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.