org.exoplatform.services.cache.impl.jboss.mru
Class MRUExoCacheCreator.MRUExoCache
java.lang.Object
org.exoplatform.services.cache.impl.jboss.AbstractExoCache<Serializable,Object>
org.exoplatform.services.cache.impl.jboss.mru.MRUExoCacheCreator.MRUExoCache
- All Implemented Interfaces:
- ExoCache<Serializable,Object>
- Enclosing class:
- MRUExoCacheCreator
public static class MRUExoCacheCreator.MRUExoCache
- extends AbstractExoCache<Serializable,Object>
The MRU implementation of an ExoCache
| Methods inherited from class org.exoplatform.services.cache.impl.jboss.AbstractExoCache |
addCacheListener, clearCache, get, getCachedObjects, getCacheHit, getCacheMiss, getCacheSize, getFqn, getLabel, getName, isDistributed, isLogEnabled, isReplicated, put, putMap, putOnly, 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 |
MRUExoCacheCreator.MRUExoCache
public MRUExoCacheCreator.MRUExoCache(ExoCacheConfig config,
org.jboss.cache.Cache<Serializable,Object> cache,
org.jboss.cache.Fqn<String> rooFqn,
org.jboss.cache.eviction.MRUAlgorithmConfig mru)
setMaxSize
public void setMaxSize(int max)
setLiveTime
public void setLiveTime(long period)
getMaxSize
public int getMaxSize()
getLiveTime
public long getLiveTime()
Copyright © 2012 eXo Platform SAS. All Rights Reserved.