| Package | Description |
|---|---|
| javax.cache.configuration |
This package contains configuration classes and interfaces.
|
| javax.cache.event |
This package contains event listener interfaces.
|
| Modifier and Type | Method and Description |
|---|---|
Factory<CacheEntryListener<? super K,? super V>> |
MutableCacheEntryListenerConfiguration.getCacheEntryListenerFactory()
Obtains the
Factory for the
CacheEntryListener. |
Factory<CacheEntryListener<? super K,? super V>> |
CacheEntryListenerConfiguration.getCacheEntryListenerFactory()
Obtains the
Factory for the
CacheEntryListener. |
| Modifier and Type | Method and Description |
|---|---|
MutableCacheEntryListenerConfiguration<K,V> |
MutableCacheEntryListenerConfiguration.setCacheEntryListenerFactory(Factory<? extends CacheEntryListener<? super K,? super V>> listenerFactory)
Sets the
Factory to be used to create a CacheEntryListener. |
| Constructor and Description |
|---|
MutableCacheEntryListenerConfiguration(Factory<? extends CacheEntryListener<? super K,? super V>> listenerFactory,
Factory<? extends CacheEntryEventFilter<? super K,? super V>> filterFactory,
boolean isOldValueRequired,
boolean isSynchronous)
Constructs a
MutableCacheEntryListenerConfiguration. |
| Modifier and Type | Interface and 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.
|
Copyright © 2014. All Rights Reserved.