com.liferay.portal.cache.memory
Class MemoryPortalCache
java.lang.Object
com.liferay.portal.kernel.cache.BasePortalCache
com.liferay.portal.cache.memory.MemoryPortalCache
- All Implemented Interfaces:
- PortalCache
public class MemoryPortalCache
- extends BasePortalCache
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryPortalCache
public MemoryPortalCache(int initialCapacity)
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()