org.exoplatform.services.cache
Class SimpleExoCache

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap
              extended by org.exoplatform.services.cache.BaseExoCache
                  extended by org.exoplatform.services.cache.SimpleExoCache
All Implemented Interfaces:
Serializable, Cloneable, Map, ExoCache

public class SimpleExoCache
extends BaseExoCache

Created by The eXo Platform SAS Author : Tuan Nguyen tuan08@users.sourceforge.net Sat, Sep 13, 2003 @ Time: 1:12:22 PM

See Also:
Serialized Form

Nested Class Summary
static class SimpleExoCache.CacheSoftReference
           
 
Constructor Summary
SimpleExoCache()
           
SimpleExoCache(int maxSize)
           
SimpleExoCache(String name, int maxSize)
           
 
Method Summary
protected  ObjectCacheInfo createObjectCacheInfo(long expTime, Object objToCache)
           
 
Methods inherited from class org.exoplatform.services.cache.BaseExoCache
addCacheListener, clearCache, get, getCachedObjects, getCacheHit, getCacheMiss, getCacheSize, getLabel, getLiveTime, getMaxSize, getName, isDistributed, isLogEnabled, isReplicated, localClear, localPut, localRemove, put, putMap, remove, removeCachedObjects, removeEldestEntry, select, setDistributed, setLabel, setLiveTime, setLogEnabled, setMaxSize, setName, setReplicated
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

SimpleExoCache

public SimpleExoCache(int maxSize)

SimpleExoCache

public SimpleExoCache()

SimpleExoCache

public SimpleExoCache(String name,
                      int maxSize)
Method Detail

createObjectCacheInfo

protected ObjectCacheInfo createObjectCacheInfo(long expTime,
                                                Object objToCache)
Specified by:
createObjectCacheInfo in class BaseExoCache


Copyright © 2009 eXo Platform SAS. All Rights Reserved.