com.liferay.portal.kernel.cache
Class BlockingPortalCache

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

public class BlockingPortalCache
extends java.lang.Object
implements PortalCache

View Source

Author:
Shuyang Zhou

Constructor Summary
BlockingPortalCache(PortalCache portalCache)
           
 
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
 

Constructor Detail

BlockingPortalCache

public BlockingPortalCache(PortalCache portalCache)
Method Detail

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