public class SimpleListener<K,V> extends Object implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleListener.NoFilter |
| Constructor and Description |
|---|
SimpleListener(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()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2017–2020 The Apache Software Foundation. All rights reserved.