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 JCSListener(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)
public void onRemoved(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events) throws javax.cache.event.CacheEntryListenerException
javax.cache.event.CacheEntryListenerException
public void onExpired(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events) throws javax.cache.event.CacheEntryListenerException
javax.cache.event.CacheEntryListenerException
public void onUpdated(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events) throws javax.cache.event.CacheEntryListenerException
javax.cache.event.CacheEntryListenerException
public void onCreated(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events) throws javax.cache.event.CacheEntryListenerException
javax.cache.event.CacheEntryListenerException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.