public static enum Cached.Action extends Enum<Cached.Action>
| Enum Constant and Description |
|---|
DELETE
Delete an object from cache.
|
DELETE_ALL
Delete all objects from cache.
|
GET
Get an object from cache.
|
GET_ALL
Get all objects from cache.
|
NOOP
No operation.
|
PUT
Put an object in cache.
|
PUT_ALL
Put all objects in cache.
|
| Modifier and Type | Method and Description |
|---|---|
static Cached.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cached.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cached.Action NOOP
public static final Cached.Action PUT
public static final Cached.Action GET
public static final Cached.Action DELETE
public static final Cached.Action GET_ALL
public static final Cached.Action PUT_ALL
public static final Cached.Action DELETE_ALL
public static Cached.Action[] values()
for (Cached.Action c : Cached.Action.values()) System.out.println(c);
public static Cached.Action 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 nullCopyright © 2018 Erudika. All rights reserved.