eXo Kernel :: Cache Extension :: JBoss Cache Implementation 2.4.x-SNAPSHOT

org.exoplatform.services.cache.impl.jboss.lfu
Class LFUExoCacheCreator.LFUExoCache

java.lang.Object
  extended by org.exoplatform.services.cache.impl.jboss.AbstractExoCache<Serializable,Object>
      extended by org.exoplatform.services.cache.impl.jboss.lfu.LFUExoCacheCreator.LFUExoCache
All Implemented Interfaces:
ExoCache<Serializable,Object>
Enclosing class:
LFUExoCacheCreator

public static class LFUExoCacheCreator.LFUExoCache
extends AbstractExoCache<Serializable,Object>

The LRU implementation of an ExoCache


Nested Class Summary
 
Nested classes/interfaces inherited from class org.exoplatform.services.cache.impl.jboss.AbstractExoCache
AbstractExoCache.CacheEventListener
 
Field Summary
 
Fields inherited from class org.exoplatform.services.cache.impl.jboss.AbstractExoCache
cache, rootFqn
 
Constructor Summary
LFUExoCacheCreator.LFUExoCache(ExoCacheConfig config, org.jboss.cache.Cache<Serializable,Object> cache, org.jboss.cache.Fqn<String> rooFqn, org.jboss.cache.eviction.LFUAlgorithmConfig lfu)
           
 
Method Summary
 long getLiveTime()
           
 int getMaxSize()
           
 long getMinNodes()
           
 void setLiveTime(long period)
           
 void setMaxSize(int max)
           
 void setMinNodes(int minNodes)
           
 
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
 

Constructor Detail

LFUExoCacheCreator.LFUExoCache

public LFUExoCacheCreator.LFUExoCache(ExoCacheConfig config,
                                      org.jboss.cache.Cache<Serializable,Object> cache,
                                      org.jboss.cache.Fqn<String> rooFqn,
                                      org.jboss.cache.eviction.LFUAlgorithmConfig lfu)
Method Detail

getLiveTime

public long getLiveTime()

getMaxSize

public int getMaxSize()

getMinNodes

public long getMinNodes()

setLiveTime

public void setLiveTime(long period)

setMaxSize

public void setMaxSize(int max)

setMinNodes

public void setMinNodes(int minNodes)

eXo Kernel :: Cache Extension :: JBoss Cache Implementation 2.4.x-SNAPSHOT

Copyright © 2015 eXo Platform SAS. All Rights Reserved.