public enum KeyValueWatchOption extends java.lang.Enum<KeyValueWatchOption>
Enum Constant and Description |
---|
IGNORE_DELETE
Do not include deletes or purges in results.
|
INCLUDE_HISTORY
Watch starting at the first entry for all keys.
|
META_ONLY
Only get meta data, skip value when retrieving data from the server.
|
UPDATES_ONLY
Watch starting when there are new entries for keys.
|
Modifier and Type | Method and Description |
---|---|
static KeyValueWatchOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyValueWatchOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyValueWatchOption IGNORE_DELETE
public static final KeyValueWatchOption META_ONLY
public static final KeyValueWatchOption INCLUDE_HISTORY
public static final KeyValueWatchOption UPDATES_ONLY
public static KeyValueWatchOption[] values()
for (KeyValueWatchOption c : KeyValueWatchOption.values()) System.out.println(c);
public static KeyValueWatchOption 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 null