Top Description Methods
javax.cache.event

public Interface CacheEntryRemovedListener<K, V>

extends CacheEntryListener<K, V>
Type Parameters
<K>
the type of key
<V>
the type of value

Invoked if a cache entry is removed, or if a batch call is made, after the entries are removed.
Authors
Yannis Cosmadopoulos, Greg Luck
Since
1.0

Method Summary

Modifier and TypeMethod and Description
public void
onRemoved(Iterable<CacheEntryEvent<? extends K, ? extends V>>
The entries just removed.
events
)

Called after one or more entries have been removed.

Method Detail

onRemovedback to summary
public void onRemoved(Iterable<CacheEntryEvent<? extends K, ? extends V>> events) throws CacheEntryListenerException

Called after one or more entries have been removed. If no entry existed for a key an event is not raised for it.

Parameters
events:Iterable<CacheEntryEvent<? extends K, ? extends V>>

The entries just removed.

Exceptions
CacheEntryListenerException:
if there is problem executing the listener