K
- the most general type of keys this listener can listen for; for
example Object
if any key is acceptableV
- the most general type of values this listener can listen for; for
example Object
if any key is acceptable@Beta @GwtCompatible public interface RemovalListener<K,V>
An instance may be called concurrently by multiple threads to process different entries. Implementations of this interface should avoid performing blocking calls or synchronizing on shared resources.
Modifier and Type | Method and Description |
---|---|
void |
onRemoval(RemovalNotification<K,V> notification)
Notifies the listener that a removal occurred at some point in the past.
|
void onRemoval(RemovalNotification<K,V> notification)
Copyright © 2010 - 2020 Adobe. All Rights Reserved