| Package | Description |
|---|---|
| javax.cache |
This package contains the API for JCache.
|
| javax.cache.event |
This package contains event listener interfaces.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
CacheEntryEventFilter<? super K,? super V> |
CacheEntryListenerRegistration.getCacheEntryFilter()
Gets the
CacheEntryEventFilter that should be applied prior to
notifying the CacheEntryListener. |
Copyright © 2013. All Rights Reserved.