public enum MapOperation extends Enum<MapOperation> implements CacheOperation
| Enum Constant and Description |
|---|
CLOSE |
CONTAINS_KEY |
FETCH |
GET |
GET_AND_PUT_IF_ABSENT |
KEYSET |
PUT |
PUT_IF_ABSENT |
REMOVE |
REMOVE_AND_GET |
REMOVE_BY_PATTERN |
REMOVE_BY_PATTERN_AND_GET |
REPLACE |
SUBMAP |
| Modifier and Type | Method and Description |
|---|---|
String |
value()
Get Cache Operation value used during protocol communication
|
static MapOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MapOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapOperation CONTAINS_KEY
public static final MapOperation FETCH
public static final MapOperation GET
public static final MapOperation GET_AND_PUT_IF_ABSENT
public static final MapOperation KEYSET
public static final MapOperation PUT
public static final MapOperation PUT_IF_ABSENT
public static final MapOperation REMOVE
public static final MapOperation REMOVE_AND_GET
public static final MapOperation REMOVE_BY_PATTERN
public static final MapOperation REMOVE_BY_PATTERN_AND_GET
public static final MapOperation REPLACE
public static final MapOperation SUBMAP
public static final MapOperation CLOSE
private final String operation
public static MapOperation[] values()
for (MapOperation c : MapOperation.values()) System.out.println(c);
public static MapOperation 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 nullpublic String value()
CacheOperationvalue in interface CacheOperationCopyright © 2022 Apache NiFi Project. All rights reserved.