K
- the type of keysV
- the type of valuespublic interface CacheEntryListenerConfiguration<K,V> extends Serializable
CacheEntryListener
and a Factory
for its
creation.Modifier and Type | Method and Description |
---|---|
Factory<CacheEntryEventFilter<? super K,? super V>> |
getCacheEntryEventFilterFactory()
Obtains the
Factory for the CacheEntryEventFilter that should be
applied prior to notifying the CacheEntryListener . |
Factory<CacheEntryListener<? super K,? super V>> |
getCacheEntryListenerFactory()
Obtains the
Factory for the
CacheEntryListener . |
boolean |
isOldValueRequired()
Determines if the old value should be provided to the
CacheEntryListener . |
boolean |
isSynchronous()
Determines if the thread that caused an event to be created should be
blocked (not return from the operation causing the event) until the
CacheEntryListener has been notified. |
Factory<CacheEntryListener<? super K,? super V>> getCacheEntryListenerFactory()
Factory
for the
CacheEntryListener
.Factory
for the
CacheEntryListener
boolean isOldValueRequired()
CacheEntryListener
.true
if the old value is required by the
CacheEntryListener
Factory<CacheEntryEventFilter<? super K,? super V>> getCacheEntryEventFilterFactory()
Factory
for the CacheEntryEventFilter
that should be
applied prior to notifying the CacheEntryListener
.
When null
no filtering is applied and all appropriate events
are notified.
Factory
for the
CacheEntryEventFilter
or null
if no filtering is requiredboolean isSynchronous()
CacheEntryListener
has been notified.true
if the thread that created the event should blockCopyright © 2014. All Rights Reserved.