| Package | Description |
|---|---|
| javax.cache | |
| javax.cache.event | |
| org.wso2.carbon.caching.impl | |
| org.wso2.carbon.caching.impl.clustering |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Cache.registerCacheEntryListener(CacheEntryListener<? super K,? super V> cacheEntryListener)
Adds a listener to the notification service.
|
CacheBuilder<K,V> |
CacheBuilder.registerCacheEntryListener(CacheEntryListener<K,V> cacheEntryListener)
Registers a listener.
|
boolean |
Cache.unregisterCacheEntryListener(CacheEntryListener<?,?> cacheEntryListener)
Removes a call back listener.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
CacheEntryCreatedListener<K,V>
Invoked if a cache entry is created,
for example through a
Cache.put(Object, Object) operation or the action of a CacheLoader. |
interface |
CacheEntryExpiredListener<K,V>
Invoked if a cache entry is evicted because of expiration.
|
interface |
CacheEntryReadListener<K,V>
Invoked if a cache entry is read,
for example through a
Cache.get(Object) call. |
interface |
CacheEntryRemovedListener<K,V>
Invoked if a cache entry is removed,
for example through a
Cache.remove(Object) call. |
interface |
CacheEntryUpdatedListener<K,V>
Invoked if an existing cache entry is updated, for example through a
Cache.put(Object, Object) or a CacheLoader operation . |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CacheImpl.registerCacheEntryListener(CacheEntryListener<? super K,? super V> cacheEntryListener) |
CacheBuilder<K,V> |
CacheBuilderImpl.registerCacheEntryListener(CacheEntryListener<K,V> cacheEntryListener) |
boolean |
CacheImpl.unregisterCacheEntryListener(CacheEntryListener<?,?> cacheEntryListener) |
| Modifier and Type | Class and Description |
|---|---|
class |
ClusterCacheInvalidationRequestSender
Listens for cache entry removals and updates, and sends a cache invalidation request
to the other members in the cluster.
|
Copyright © 2018 WSO2 Inc. All rights reserved.