Class GenericExoCacheConfig
- java.lang.Object
-
- org.exoplatform.services.cache.ExoCacheConfig
-
- org.exoplatform.services.cache.impl.infinispan.generic.GenericExoCacheConfig
-
- All Implemented Interfaces:
Cloneable
public class GenericExoCacheConfig extends org.exoplatform.services.cache.ExoCacheConfigTheExoCacheConfigfor all the eviction algorithms available in infinispan- Version:
- $Id$
- Author:
- Nicolas Filotto
-
-
Constructor Summary
Constructors Constructor Description GenericExoCacheConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetMaxIdle()StringgetStrategy()longgetWakeUpInterval()voidsetMaxIdle(long maxIdle)voidsetStrategy(String strategy)voidsetWakeUpInterval(long wakeUpInterval)-
Methods inherited from class org.exoplatform.services.cache.ExoCacheConfig
avoidValueReplication, clone, getCacheMode, getImplementation, getLabel, getLiveTime, getMaxSize, getName, isAsync, isDistributed, isInvalidated, isLogEnabled, isRepicated, setCacheMode, setDistributed, setImplementation, setLabel, setLiveTime, setLogEnabled, setMaxSize, setName, setReplicated
-
-
-
-
Method Detail
-
getStrategy
public String getStrategy()
- Returns:
- the strategy
-
setStrategy
public void setStrategy(String strategy)
- Parameters:
strategy- the strategy to set
-
getWakeUpInterval
public long getWakeUpInterval()
- Returns:
- the wakeUpInterval
-
setWakeUpInterval
public void setWakeUpInterval(long wakeUpInterval)
- Parameters:
wakeUpInterval- the wakeUpInterval to set
-
getMaxIdle
public long getMaxIdle()
- Returns:
- the maxIdle
-
setMaxIdle
public void setMaxIdle(long maxIdle)
- Parameters:
maxIdle- the maxIdle to set
-
-