Uses of Interface
javax.cache.event.CacheEntryListener
Packages that use CacheEntryListener
Package
Description
This package contains configuration classes and interfaces.
This package contains event listener interfaces.
-
Uses of CacheEntryListener in javax.cache.configuration
Fields in javax.cache.configuration with type parameters of type CacheEntryListenerModifier and TypeFieldDescriptionprivate Factory
<CacheEntryListener<? super K, ? super V>> MutableCacheEntryListenerConfiguration.listenerFactory
TheFactory
to be used to create theCacheEntryListener
.Methods in javax.cache.configuration that return types with arguments of type CacheEntryListenerModifier and TypeMethodDescriptionFactory
<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 CacheEntryListenerModifier and TypeMethodDescriptionMutableCacheEntryListenerConfiguration.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 CacheEntryListenerModifierConstructorDescriptionMutableCacheEntryListenerConfiguration
(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.eventModifier and TypeInterfaceDescriptioninterface
Invoked after a cache entry is created, or if a batch call is made, after the entries are created.interface
Invoked if a cache entry or entries are evicted due to expiration.interface
Invoked if a cache entry is removed, or if a batch call is made, after the entries are removed.interface
Invoked if an existing cache entry is updated, or if a batch call is made, after the entries are updated.