eXo Kernel :: Cache Extension :: Infinispan Implementation 2.4.7-GA

org.exoplatform.services.cache.impl.infinispan.generic
Class GenericExoCacheConfig

java.lang.Object
  extended by org.exoplatform.services.cache.ExoCacheConfig
      extended by 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

Field Summary
 
Fields inherited from class org.exoplatform.services.cache.ExoCacheConfig
avoidValueReplication
 
Constructor Summary
GenericExoCacheConfig()
           
 
Method Summary
 long getLifespan()
           
 int getMaxEntries()
           
 long getMaxIdle()
           
 String getStrategy()
           
 long getWakeUpInterval()
           
 void setLifespan(long lifespan)
           
 void setMaxEntries(int maxEntries)
           
 void setMaxIdle(long maxIdle)
           
 void setStrategy(String strategy)
           
 void setWakeUpInterval(long wakeUpInterval)
           
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericExoCacheConfig

public GenericExoCacheConfig()
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

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

eXo Kernel :: Cache Extension :: Infinispan Implementation 2.4.7-GA

Copyright © 2013 eXo Platform SAS. All Rights Reserved.