public static enum RemovalNotification.RemovalReason extends java.lang.Enum<RemovalNotification.RemovalReason>
Enum Constant and Description |
---|
EVICTED |
INVALIDATED |
REPLACED |
Modifier and Type | Method and Description |
---|---|
static RemovalNotification.RemovalReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RemovalNotification.RemovalReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RemovalNotification.RemovalReason REPLACED
public static final RemovalNotification.RemovalReason INVALIDATED
public static final RemovalNotification.RemovalReason EVICTED
public static RemovalNotification.RemovalReason[] values()
for (RemovalNotification.RemovalReason c : RemovalNotification.RemovalReason.values()) System.out.println(c);
public static RemovalNotification.RemovalReason 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