Liferay 6.0.5

com.liferay.portal.cache.memory
Class MemoryPortalCache

java.lang.Object
  extended by com.liferay.portal.kernel.cache.BasePortalCache
      extended by com.liferay.portal.cache.memory.MemoryPortalCache
All Implemented Interfaces:
PortalCache

public class MemoryPortalCache
extends BasePortalCache


Constructor Summary
MemoryPortalCache(int initialCapacity)
           
 
Method Summary
 Collection<Object> get(Collection<String> keys)
           
 Object get(String key)
           
 void put(String key, Object obj)
           
 void put(String key, Object obj, int timeToLive)
           
 void put(String key, Serializable obj)
           
 void put(String key, Serializable obj, int timeToLive)
           
 void remove(String key)
           
 void removeAll()
           
 
Methods inherited from class com.liferay.portal.kernel.cache.BasePortalCache
destroy, isDebug, processKey, setDebug
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryPortalCache

public MemoryPortalCache(int initialCapacity)
Method Detail

get

public Collection<Object> get(Collection<String> keys)

get

public Object get(String key)

put

public void put(String key,
                Object obj)

put

public void put(String key,
                Object obj,
                int timeToLive)

put

public void put(String key,
                Serializable obj)

put

public void put(String key,
                Serializable obj,
                int timeToLive)

remove

public void remove(String key)

removeAll

public void removeAll()

Liferay 6.0.5