Uses of Interface
javax.cache.event.CacheEntryListener
-
Packages that use CacheEntryListener Package Description javax.cache.configuration This package contains configuration classes and interfaces.javax.cache.event This package contains event listener interfaces. -
-
Uses of CacheEntryListener in javax.cache.configuration
Methods in javax.cache.configuration that return types with arguments of type CacheEntryListener Modifier and Type Method Description Factory<CacheEntryListener<? super K,? super V>>
CacheEntryListenerConfiguration. getCacheEntryListenerFactory()
Obtains theFactory
for theCacheEntryListener
.Factory<CacheEntryListener<? super K,? super V>>
MutableCacheEntryListenerConfiguration. getCacheEntryListenerFactory()
Obtains theFactory
for theCacheEntryListener
.Method parameters in javax.cache.configuration with type arguments of type CacheEntryListener Modifier and Type Method Description MutableCacheEntryListenerConfiguration<K,V>
MutableCacheEntryListenerConfiguration. setCacheEntryListenerFactory(Factory<? extends CacheEntryListener<? super K,? super V>> listenerFactory)
Sets theFactory
to be used to create aCacheEntryListener
.Constructor parameters in javax.cache.configuration with type arguments of type CacheEntryListener Constructor Description MutableCacheEntryListenerConfiguration(Factory<? extends CacheEntryListener<? super K,? super V>> listenerFactory, Factory<? extends CacheEntryEventFilter<? super K,? super V>> filterFactory, boolean isOldValueRequired, boolean isSynchronous)
Constructs aMutableCacheEntryListenerConfiguration
. -
Uses of CacheEntryListener in javax.cache.event
Subinterfaces of CacheEntryListener in javax.cache.event Modifier and Type Interface Description interface
CacheEntryCreatedListener<K,V>
Invoked after a cache entry is created, or if a batch call is made, after the entries are created.interface
CacheEntryExpiredListener<K,V>
Invoked if a cache entry or entries are evicted due to expiration.interface
CacheEntryRemovedListener<K,V>
Invoked if a cache entry is removed, or if a batch call is made, after the entries are removed.interface
CacheEntryUpdatedListener<K,V>
Invoked if an existing cache entry is updated, or if a batch call is made, after the entries are updated.
-