| Package | Description |
|---|---|
| org.exoplatform.services.cache |
This package provides an API used for data caching.
|
| org.exoplatform.services.cache.concurrent | |
| org.exoplatform.services.cache.future | |
| org.exoplatform.services.cache.impl | |
| org.exoplatform.services.cache.invalidation |
| Modifier and Type | Class and Description |
|---|---|
class |
FIFOExoCache<K extends Serializable,V>
Deprecated.
use
ConcurrentFIFOExoCache instead |
class |
SimpleExoCache<K extends Serializable,V>
Deprecated.
use
ConcurrentFIFOExoCache instead |
| Modifier and Type | Method and Description |
|---|---|
ExoCache |
ExoCacheFactory.createCache(ExoCacheConfig config)
Creates a new instance of
ExoCache |
<K extends Serializable,V> |
CacheService.getCacheInstance(String region)
Returns a specific cache instance.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ExoCache<? extends Serializable,?>> |
CacheService.getAllCacheInstances()
Returns a collection of all the cache instances.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CachedObjectSelector.onSelect(ExoCache<? extends K,? extends V> cache,
K key,
ObjectCacheInfo<? extends V> ocinfo)
Action to perform on selected keys
|
void |
ExpireKeyStartWithSelector.onSelect(ExoCache<? extends K,? extends V> cache,
K key,
ObjectCacheInfo<? extends V> ocinfo) |
| Modifier and Type | Class and Description |
|---|---|
class |
ConcurrentFIFOExoCache<K extends Serializable,V>
An
ExoCache implementation based on ConcurrentHashMap
that minimize locking. |
class |
SimpleReplicatedExoCache<K extends Serializable,V extends Serializable>
This implementation of
ExoCache will behave exactly the same way as ConcurrentFIFOExoCache
except in case of a cache change, indeed the modifications will be first applied locally
then it will be replicated over the cluster asynchronously to limit the performance impact
on the local cluster node. |
| Constructor and Description |
|---|
FutureExoCache(Loader<K,V,C> loader,
ExoCache<K,V> cache) |
| Modifier and Type | Method and Description |
|---|---|
<K extends Serializable,V> |
CacheServiceImpl.getCacheInstance(String region) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ExoCache<? extends Serializable,?>> |
CacheServiceImpl.getAllCacheInstances() |
| Modifier and Type | Class and Description |
|---|---|
class |
AsyncInvalidationExoCache<K extends Serializable,V>
This implementation of
ExoCache will behave exactly the same way as ConcurrentFIFOExoCache
except in case of a cache change, indeed the modifications will be first applied locally
then it will be invalidated over the cluster asynchronously to limit the performance impact
on the local cluster node. |
class |
InvalidationExoCache<K extends Serializable,V>
This eXo cache type is a decorator allowing ExoCache instances that have
big values or non serializable values to be replicated thanks to an invalidation
mechanism.
|
| Constructor and Description |
|---|
AsyncInvalidationExoCache(ExoCache<K,HashCode<V>> replicatedCache) |
InvalidationExoCache(ExoCache<K,V> delegate) |
InvalidationExoCache(ExoCache<K,V> delegate,
int concurrencyLevel) |
Copyright © 2018 eXo Platform SAS. All Rights Reserved.