Package org.apache.commons.jcs3.jcache
Class JCSListener<K,V>
java.lang.Object
org.apache.commons.jcs3.jcache.JCSListener<K,V>
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionJCSListener
(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration) -
Method Summary
-
Constructor Details
-
JCSListener
public JCSListener(javax.cache.configuration.CacheEntryListenerConfiguration<K, V> cacheEntryListenerConfiguration)
-
-
Method Details
-
onRemoved
public void onRemoved(List<javax.cache.event.CacheEntryEvent<? extends K, ? extends V>> events) throws javax.cache.event.CacheEntryListenerException- Throws:
javax.cache.event.CacheEntryListenerException
-
onExpired
public void onExpired(List<javax.cache.event.CacheEntryEvent<? extends K, ? extends V>> events) throws javax.cache.event.CacheEntryListenerException- Throws:
javax.cache.event.CacheEntryListenerException
-
onUpdated
public void onUpdated(List<javax.cache.event.CacheEntryEvent<? extends K, ? extends V>> events) throws javax.cache.event.CacheEntryListenerException- Throws:
javax.cache.event.CacheEntryListenerException
-
onCreated
public void onCreated(List<javax.cache.event.CacheEntryEvent<? extends K, ? extends V>> events) throws javax.cache.event.CacheEntryListenerException- Throws:
javax.cache.event.CacheEntryListenerException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-