org.exoplatform.services.cache.impl.infinispan.generic
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 ExoCacheConfig
The ExoCacheConfig for all the eviction algorithms
available in infinispan
- Version:
- $Id$
- Author:
- Nicolas Filotto
| Methods inherited from class org.exoplatform.services.cache.ExoCacheConfig |
avoidValueReplication, clone, getImplementation, getLabel, getLiveTime, getMaxSize, getName, isDistributed, isLogEnabled, isRepicated, setAvoidValueReplication, setDistributed, setImplementation, setLabel, setLiveTime, setLogEnabled, setMaxSize, setName, setReplicated |
GenericExoCacheConfig
public GenericExoCacheConfig()
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
getMaxEntries
public int getMaxEntries()
- Returns:
- the maxEntries
setMaxEntries
public void setMaxEntries(int maxEntries)
- Parameters:
maxEntries - the maxEntries to set
getLifespan
public long getLifespan()
- Returns:
- the lifespan
setLifespan
public void setLifespan(long lifespan)
- Parameters:
lifespan - the lifespan to set
getMaxIdle
public long getMaxIdle()
- Returns:
- the maxIdle
setMaxIdle
public void setMaxIdle(long maxIdle)
- Parameters:
maxIdle - the maxIdle to set
Copyright © 2013 eXo Platform SAS. All Rights Reserved.