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 |
|---|---|
static ThriftServerRunner.ImplType |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getOption() |
static ThriftServerRunner.ImplType |
getServerImpl(org.apache.hadoop.conf.Configuration conf) |
boolean |
isAlwaysFramed() |
static List<String> |
serversThatCannotSpecifyBindIP() |
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
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>-optionpublic String getOption()
public boolean isAlwaysFramed()
public String getDescription()
public static ThriftServerRunner.ImplType getServerImpl(org.apache.hadoop.conf.Configuration conf)
public String simpleClassName()
Copyright © 2007–2019 Cloudera. All rights reserved.