com.liferay.portal.kernel.cache
Class BlockingPortalCache
java.lang.Object
com.liferay.portal.kernel.cache.BlockingPortalCache
- All Implemented Interfaces:
- PortalCache
public class BlockingPortalCache
- extends java.lang.Object
- implements PortalCache
View Source
- Author:
- Shuyang Zhou
Method Summary |
java.lang.Object |
get(java.lang.String key)
|
void |
put(java.lang.String key,
java.lang.Object obj)
|
void |
put(java.lang.String key,
java.lang.Object obj,
int timeToLive)
|
void |
put(java.lang.String key,
java.io.Serializable obj)
|
void |
put(java.lang.String key,
java.io.Serializable obj,
int timeToLive)
|
void |
remove(java.lang.String key)
|
void |
removeAll()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockingPortalCache
public BlockingPortalCache(PortalCache portalCache)
get
public java.lang.Object get(java.lang.String key)
- Specified by:
get
in interface PortalCache
put
public void put(java.lang.String key,
java.lang.Object obj)
- Specified by:
put
in interface PortalCache
put
public void put(java.lang.String key,
java.lang.Object obj,
int timeToLive)
- Specified by:
put
in interface PortalCache
put
public void put(java.lang.String key,
java.io.Serializable obj)
- Specified by:
put
in interface PortalCache
put
public void put(java.lang.String key,
java.io.Serializable obj,
int timeToLive)
- Specified by:
put
in interface PortalCache
remove
public void remove(java.lang.String key)
- Specified by:
remove
in interface PortalCache
removeAll
public void removeAll()
- Specified by:
removeAll
in interface PortalCache