public static enum MapUpdate.Type extends Enum<MapUpdate.Type>
| Enum Constant and Description |
|---|
PUT
Insert/Update entry without any checks.
|
PUT_IF_ABSENT
Insert an entry iff there is no existing entry for that key.
|
PUT_IF_VALUE_MATCH
Update entry if the current value matches specified value.
|
PUT_IF_VERSION_MATCH
Update entry if the current version matches specified version.
|
REMOVE
Remove entry without any checks.
|
REMOVE_IF_VALUE_MATCH
Remove entry if the current value matches specified value.
|
REMOVE_IF_VERSION_MATCH
Remove entry if the current version matches specified version.
|
| Modifier and Type | Method and Description |
|---|---|
static MapUpdate.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MapUpdate.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapUpdate.Type PUT
public static final MapUpdate.Type PUT_IF_ABSENT
public static final MapUpdate.Type PUT_IF_VERSION_MATCH
public static final MapUpdate.Type PUT_IF_VALUE_MATCH
public static final MapUpdate.Type REMOVE
public static final MapUpdate.Type REMOVE_IF_VERSION_MATCH
public static final MapUpdate.Type REMOVE_IF_VALUE_MATCH
public static MapUpdate.Type[] values()
for (MapUpdate.Type c : MapUpdate.Type.values()) System.out.println(c);
public static MapUpdate.Type 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 null