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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
     
    long
     
    void
    setMaxIdle(long maxIdle)
     
    void
    setStrategy(String strategy)
     
    void
    setWakeUpInterval(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

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GenericExoCacheConfig

      public GenericExoCacheConfig()
  • Method Details

    • 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