@Role
public interface CacheFactory
| Modifier and Type | Method and Description |
|---|---|
<T> Cache<T> |
newCache(CacheConfiguration config)
Create and return a custom cache.
|
<T> Cache<T> newCache(CacheConfiguration config) throws CacheException
T - the class of the data stored in the cache.config - the cache configuration.Cache.CacheException - error when creating the cache.Copyright © 2004–2017 XWiki. All rights reserved.