@InterfaceAudience.Private public enum ImplType extends Enum<ImplType>
Enum Constant and Description |
---|
HS_HA |
NONBLOCKING |
THREAD_POOL |
THREADED_SELECTOR |
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
canSpecifyBindIP |
static ImplType |
DEFAULT |
(package private) boolean |
isAlwaysFramed |
private static org.slf4j.Logger |
LOG |
(package private) String |
option |
(package private) Class<? extends org.apache.thrift.server.TServer> |
serverClass |
Modifier and Type | Method and Description |
---|---|
(package private) static org.apache.hbase.thirdparty.org.apache.commons.cli.OptionGroup |
createOptionGroup() |
String |
getDescription() |
String |
getOption() |
static ImplType |
getServerImpl(org.apache.hadoop.conf.Configuration conf) |
boolean |
isAlwaysFramed() |
static List<String> |
serversThatCannotSpecifyBindIP() |
(package private) static void |
setServerImpl(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd,
org.apache.hadoop.conf.Configuration conf) |
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 NONBLOCKING
public static final ImplType THREAD_POOL
public static final ImplType THREADED_SELECTOR
private static final org.slf4j.Logger LOG
final boolean isAlwaysFramed
final Class<? extends org.apache.thrift.server.TServer> serverClass
final boolean canSpecifyBindIP
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 boolean isAlwaysFramed()
public String getDescription()
static org.apache.hbase.thirdparty.org.apache.commons.cli.OptionGroup createOptionGroup()
public static ImplType getServerImpl(org.apache.hadoop.conf.Configuration conf)
static void setServerImpl(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd, org.apache.hadoop.conf.Configuration conf)
public String simpleClassName()
public static List<String> serversThatCannotSpecifyBindIP()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.