public static enum Client.ClientProperty extends Enum<Client.ClientProperty>
Enum Constant and Description |
---|
POOLING_ENABLED |
POOLING_MAX_IDLE_TIME |
POOLING_MAX_SIZE |
POOLING_QUEUE_TIMEOUT |
Modifier and Type | Method and Description |
---|---|
String |
getKeyName() |
static Client.ClientProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Client.ClientProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Client.ClientProperty POOLING_ENABLED
public static final Client.ClientProperty POOLING_MAX_SIZE
public static final Client.ClientProperty POOLING_MAX_IDLE_TIME
public static final Client.ClientProperty POOLING_QUEUE_TIMEOUT
private String keyName
public static Client.ClientProperty[] values()
for (Client.ClientProperty c : Client.ClientProperty.values()) System.out.println(c);
public static Client.ClientProperty 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 getKeyName()