org.exoplatform.services.cache.impl.jboss
Class AbstractExoCacheCreator
java.lang.Object
org.exoplatform.services.cache.impl.jboss.AbstractExoCacheCreator
- All Implemented Interfaces:
- ExoCacheCreator
- Direct Known Subclasses:
- EAExoCacheCreator, FIFOExoCacheCreator, LFUExoCacheCreator, LRUExoCacheCreator, MRUExoCacheCreator
public abstract class AbstractExoCacheCreator
- extends Object
- implements ExoCacheCreator
This class is used to propose a set of common methods generally needed by ExoCacheCreator
implementations
- Version:
- $Id$
- Author:
- Nicolas Filotto
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractExoCacheCreator
public AbstractExoCacheCreator()
addEvictionRegion
protected org.jboss.cache.Fqn<String> addEvictionRegion(ExoCacheConfig config,
org.jboss.cache.Cache<Serializable,Object> cache,
org.jboss.cache.config.EvictionAlgorithmConfig eac)
- Create a new region to the given cache.
- Parameters:
config - The ExoCacheConfig from which we get the name of the region.cache - the cache instance to which we want to add the new regioneac - The Eviction Algorithm to use for the new region to create.
- Returns:
- The root Fqn of the new created region
Copyright © 2015 eXo Platform SAS. All Rights Reserved.