static enum ConcurrentLinkedHashMap.DiscardingListener extends Enum<ConcurrentLinkedHashMap.DiscardingListener> implements EvictionListener<Object,Object>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
onEviction(Object key,
Object value)
A call-back notification that the entry was evicted.
|
static ConcurrentLinkedHashMap.DiscardingListener |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConcurrentLinkedHashMap.DiscardingListener[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConcurrentLinkedHashMap.DiscardingListener INSTANCE
public static ConcurrentLinkedHashMap.DiscardingListener[] values()
for (ConcurrentLinkedHashMap.DiscardingListener c : ConcurrentLinkedHashMap.DiscardingListener.values()) System.out.println(c);
public static ConcurrentLinkedHashMap.DiscardingListener 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 void onEviction(Object key,
Object value)
EvictionListeneronEviction in interface EvictionListener<Object,Object>key - the entry's keyvalue - the entry's valueCopyright © 2010-2020 Toolsverse. All Rights Reserved.