public enum ThriftServerType extends Enum<ThriftServerType>
Enum Constant and Description |
---|
CUSTOM_HS_HA |
SASL |
SSL |
THREADPOOL |
Modifier and Type | Method and Description |
---|---|
static ThriftServerType |
get(String name) |
static ThriftServerType |
getDefault() |
String |
toString() |
static ThriftServerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThriftServerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThriftServerType CUSTOM_HS_HA
public static final ThriftServerType THREADPOOL
public static final ThriftServerType SSL
public static final ThriftServerType SASL
public static ThriftServerType[] values()
for (ThriftServerType c : ThriftServerType.values()) System.out.println(c);
public static ThriftServerType 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 static ThriftServerType get(String name)
public String toString()
toString
in class Enum<ThriftServerType>
public static ThriftServerType getDefault()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.