public interface CacheService
Modifier and Type | Method and Description |
---|---|
void |
addExoCacheConfig(ExoCacheConfigPlugin plugin)
Adds a cache configuration plugin.
|
Collection<ExoCache<? extends Serializable,?>> |
getAllCacheInstances()
Returns a collection of all the cache instances.
|
<K extends Serializable,V> |
getCacheInstance(String region)
Returns a specific cache instance.
|
void addExoCacheConfig(ExoCacheConfigPlugin plugin)
plugin
- the plugin<K extends Serializable,V> ExoCache<K,V> getCacheInstance(String region) throws NullPointerException, IllegalArgumentException
K
- the key typeV
- the value typeregion
- the cache regionNullPointerException
- if the region argument is nullIllegalArgumentException
- if the region argument length is zeroCollection<ExoCache<? extends Serializable,?>> getAllCacheInstances()
Copyright © 2003-2018 eXo Platform SAS. All Rights Reserved.