public static enum PlanConfig.ConnectionMode extends Enum<PlanConfig.ConnectionMode>
| Enum Constant and Description |
|---|
Callback
A connection is opened everytime it is needed and then it is closed.
|
KeepAlive
A connection is opened and remains alive until it no longer needed.
|
| Modifier and Type | Method and Description |
|---|---|
static PlanConfig.ConnectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlanConfig.ConnectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlanConfig.ConnectionMode KeepAlive
public static final PlanConfig.ConnectionMode Callback
public static PlanConfig.ConnectionMode[] values()
for (PlanConfig.ConnectionMode c : PlanConfig.ConnectionMode.values()) System.out.println(c);
public static PlanConfig.ConnectionMode 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 nullCopyright © 2014. All Rights Reserved.