| Package | Description |
|---|---|
| org.exoplatform.services.cache |
This package provides an API used for data caching.
|
| org.exoplatform.services.cache.concurrent | |
| org.exoplatform.services.cache.impl | |
| org.exoplatform.services.cache.invalidation |
| Modifier and Type | Method and Description |
|---|---|
void |
CacheListener.onClearCache(CacheListenerContext context)
The cache is globally cleared.
|
void |
CacheListener.onExpire(CacheListenerContext context,
K key,
V obj)
An entry is expired from the cache.
|
void |
CacheListener.onGet(CacheListenerContext context,
K key,
V obj)
An entry is retrieved from the cache.
|
void |
CacheListener.onPut(CacheListenerContext context,
K key,
V obj)
An entry is inserted in the cache.
|
default void |
CacheListener.onPutLocal(CacheListenerContext context,
K key,
V obj)
An entry is inserted in the cache (local mode without replication).
|
void |
CacheListener.onRemove(CacheListenerContext context,
K key,
V obj)
An entry is removed from the cache.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ListenerContext<K,V> |
| Modifier and Type | Method and Description |
|---|---|
void |
LoggingCacheListener.onClearCache(CacheListenerContext context) |
void |
LoggingCacheListener.onExpire(CacheListenerContext context,
Serializable key,
Object obj) |
void |
LoggingCacheListener.onGet(CacheListenerContext context,
Serializable key,
Object obj) |
void |
LoggingCacheListener.onPut(CacheListenerContext context,
Serializable key,
Object obj) |
void |
LoggingCacheListener.onRemove(CacheListenerContext context,
Serializable key,
Object obj) |
| Modifier and Type | Method and Description |
|---|---|
void |
InvalidationExoCache.onClearCache(CacheListenerContext context) |
void |
InvalidationExoCache.onExpire(CacheListenerContext context,
K key,
HashCode<V> obj)
An entry is expired from the cache.
|
void |
InvalidationExoCache.onGet(CacheListenerContext context,
K key,
HashCode<V> obj)
An entry is retrieved from the cache.
|
void |
InvalidationExoCache.onPut(CacheListenerContext context,
K key,
HashCode<V> obj)
An entry is inserted in the cache.
|
void |
InvalidationExoCache.onRemove(CacheListenerContext context,
K key,
HashCode<V> obj)
An entry is removed from the cache.
|
Copyright © 2021 eXo Platform SAS. All Rights Reserved.