edu.vt.middleware.ldap.handler
public static enum ConnectionHandler.ConnectionStrategy extends java.lang.Enum<ConnectionHandler.ConnectionStrategy>
| Enum Constant and Description |
|---|
ACTIVE_PASSIVE
active-passive strategy.
|
DEFAULT
default strategy.
|
RANDOM
random strategy.
|
ROUND_ROBIN
round robin strategy.
|
| Modifier and Type | Method and Description |
|---|---|
static ConnectionHandler.ConnectionStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionHandler.ConnectionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionHandler.ConnectionStrategy DEFAULT
public static final ConnectionHandler.ConnectionStrategy ACTIVE_PASSIVE
public static final ConnectionHandler.ConnectionStrategy ROUND_ROBIN
public static final ConnectionHandler.ConnectionStrategy RANDOM
public static ConnectionHandler.ConnectionStrategy[] values()
for (ConnectionHandler.ConnectionStrategy c : ConnectionHandler.ConnectionStrategy.values()) System.out.println(c);
public static ConnectionHandler.ConnectionStrategy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2014. All Rights Reserved.