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.ExoCacheConfig
The
ExoCacheConfig for all the eviction algorithms
available in infinispan- Version:
- $Id$
- Author:
- Nicolas Filotto
-
Field Summary
Fields inherited from class org.exoplatform.services.cache.ExoCacheConfig
avoidValueReplication -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglongvoidsetMaxIdle(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
-
Constructor Details
-
GenericExoCacheConfig
public GenericExoCacheConfig()
-
-
Method Details
-
getStrategy
- Returns:
- the strategy
-
setStrategy
- 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
-