org.exoplatform.services.cache.impl.jboss.lru
Class LRUExoCacheCreator.LRUExoCache
java.lang.Object
org.exoplatform.services.cache.impl.jboss.AbstractExoCache
org.exoplatform.services.cache.impl.jboss.lru.LRUExoCacheCreator.LRUExoCache
- All Implemented Interfaces:
- ExoCache
- Enclosing class:
- LRUExoCacheCreator
public static class LRUExoCacheCreator.LRUExoCache
- extends AbstractExoCache
The LRU implementation of an ExoCache
| Methods inherited from class org.exoplatform.services.cache.impl.jboss.AbstractExoCache |
addCacheListener, clearCache, get, getCachedObjects, getCacheHit, getCacheMiss, getCacheSize, getLabel, getName, isDistributed, isLogEnabled, isReplicated, put, putMap, remove, removeCachedObjects, select, setDistributed, setLabel, setLogEnabled, setName, setReplicated |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LRUExoCacheCreator.LRUExoCache
public LRUExoCacheCreator.LRUExoCache(ExoCacheConfig config,
org.jboss.cache.TreeCache cache,
org.jboss.cache.eviction.LRUConfiguration lru)
getLiveTime
public long getLiveTime()
getMaxSize
public int getMaxSize()
getMaxAge
public int getMaxAge()
setLiveTime
public void setLiveTime(long timeToLiveSeconds)
setMaxSize
public void setMaxSize(int max)
setMaxAge
public void setMaxAge(int maxAgeSeconds)
Copyright © 2009 eXo Platform SAS. All Rights Reserved.