public enum ClientMode extends java.lang.Enum<ClientMode>
| Enum Constant and Description |
|---|
Dynamic
In Dynamic Client mode, the set of cache node endpoints and any updates to it is dynamically managed in this mode.
|
Static
In Static Client mode, the set of endpoints specified during initialization is used throughout the lifetime of the client object.
|
Unset
Default client mode, we will perform mode discovery based on the endpoint dns name.
|
| Modifier and Type | Method and Description |
|---|---|
static ClientMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientMode Unset
public static final ClientMode Static
public static final ClientMode Dynamic
public static ClientMode[] values()
for (ClientMode c : ClientMode.values()) System.out.println(c);
public static ClientMode 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 © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.