public static enum ThriftServerRunner.ImplType extends Enum<ThriftServerRunner.ImplType>
Enum Constant and Description |
---|
HS_HA |
NONBLOCKING |
THREAD_POOL |
THREADED_SELECTOR |
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
canSpecifyBindIP |
static ThriftServerRunner.ImplType |
DEFAULT |
(package private) boolean |
isAlwaysFramed |
(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 ThriftServerRunner.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 ThriftServerRunner.ImplType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThriftServerRunner.ImplType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThriftServerRunner.ImplType HS_HA
public static final ThriftServerRunner.ImplType NONBLOCKING
public static final ThriftServerRunner.ImplType THREAD_POOL
public static final ThriftServerRunner.ImplType THREADED_SELECTOR
public static final ThriftServerRunner.ImplType DEFAULT
final boolean isAlwaysFramed
final Class<? extends org.apache.thrift.server.TServer> serverClass
final boolean canSpecifyBindIP
public static ThriftServerRunner.ImplType[] values()
for (ThriftServerRunner.ImplType c : ThriftServerRunner.ImplType.values()) System.out.println(c);
public static ThriftServerRunner.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 toString()
toString
in class Enum<ThriftServerRunner.ImplType>
-option
so we can get the list of options from
values()
public boolean isAlwaysFramed()
public String getDescription()
static org.apache.hbase.thirdparty.org.apache.commons.cli.OptionGroup createOptionGroup()
public static ThriftServerRunner.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–2019 The Apache Software Foundation. All rights reserved.