public class JCSListener<K,V> extends Object implements Closeable
| Constructor and Description |
|---|
JCSListener(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
onCreated(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events) |
void |
onExpired(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events) |
void |
onRemoved(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events) |
void |
onUpdated(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events) |
public void onRemoved(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events) throws javax.cache.event.CacheEntryListenerException
javax.cache.event.CacheEntryListenerExceptionpublic void onExpired(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events) throws javax.cache.event.CacheEntryListenerException
javax.cache.event.CacheEntryListenerExceptionpublic void onUpdated(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events) throws javax.cache.event.CacheEntryListenerException
javax.cache.event.CacheEntryListenerExceptionpublic void onCreated(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events) throws javax.cache.event.CacheEntryListenerException
javax.cache.event.CacheEntryListenerExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.