static enum CacheBuilder.NullListener extends java.lang.Enum<CacheBuilder.NullListener> implements RemovalListener<java.lang.Object,java.lang.Object>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
onRemoval(RemovalNotification<java.lang.Object,java.lang.Object> notification)
Notifies the listener that a removal occurred at some point in the past.
|
static CacheBuilder.NullListener |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CacheBuilder.NullListener[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheBuilder.NullListener INSTANCE
public static CacheBuilder.NullListener[] values()
for (CacheBuilder.NullListener c : CacheBuilder.NullListener.values()) System.out.println(c);
public static CacheBuilder.NullListener 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 nullpublic void onRemoval(RemovalNotification<java.lang.Object,java.lang.Object> notification)
RemovalListener
onRemoval
in interface RemovalListener<java.lang.Object,java.lang.Object>