|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use CacheEntryListener | |
|---|---|
| javax.cache | This package contains the API for JCache. |
| javax.cache.event | This package contains event listener interfaces. |
| Uses of CacheEntryListener in javax.cache |
|---|
| Methods in javax.cache with parameters of type CacheEntryListener | |
|---|---|
MutableConfiguration<K,V> |
MutableConfiguration.registerCacheEntryListener(CacheEntryListener<? super K,? super V> cacheEntryListener,
boolean requireOldValue,
CacheEntryEventFilter<? super K,? super V> cacheEntryEventFilter,
boolean synchronous)
Add a CacheEntryListener. |
boolean |
Cache.registerCacheEntryListener(CacheEntryListener<? super K,? super V> cacheEntryListener,
boolean requireOldValue,
CacheEntryEventFilter<? super K,? super V> cacheEntryFilter,
boolean synchronous)
Adds a listener to the notification service. |
boolean |
Cache.unregisterCacheEntryListener(CacheEntryListener<?,?> cacheEntryListener)
Removes a call back listener. |
| Uses of CacheEntryListener in javax.cache.event |
|---|
| Subinterfaces of CacheEntryListener in javax.cache.event | |
|---|---|
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 |
CacheEntryReadListener<K,V>
Invoked if a cache entry is read, or if a batch call is made, after the entries are read. |
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. |
| Methods in javax.cache.event that return CacheEntryListener | |
|---|---|
CacheEntryListener<? super K,? super V> |
CacheEntryListenerRegistration.getCacheEntryListener()
Gets the CacheEntryListener. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||