eXo Kernel :: Cache Extension :: JBoss Cache Implementation 2.4.1-GA

org.exoplatform.services.cache.impl.jboss
Class AbstractExoCacheCreator

java.lang.Object
  extended by 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

Constructor Summary
AbstractExoCacheCreator()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.exoplatform.services.cache.impl.jboss.ExoCacheCreator
create, getExpectedConfigType, getExpectedImplementation
 

Constructor Detail

AbstractExoCacheCreator

public AbstractExoCacheCreator()
Method Detail

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 region
eac - The Eviction Algorithm to use for the new region to create.
Returns:
The root Fqn of the new created region

eXo Kernel :: Cache Extension :: JBoss Cache Implementation 2.4.1-GA

Copyright © 2012 eXo Platform SAS. All Rights Reserved.