Liferay 7.0-ce-a2

com.liferay.portal.kernel.cache
Class BlockingPortalCache<K extends Serializable,V>

java.lang.Object
  extended by com.liferay.portal.kernel.cache.PortalCacheWrapper<K,V>
      extended by com.liferay.portal.kernel.cache.BlockingPortalCache<K,V>
All Implemented Interfaces:
PortalCache<K,V>

public class BlockingPortalCache<K extends Serializable,V>
extends PortalCacheWrapper<K,V>


Field Summary
 
Fields inherited from class com.liferay.portal.kernel.cache.PortalCacheWrapper
portalCache
 
Fields inherited from interface com.liferay.portal.kernel.cache.PortalCache
DEFAULT_TIME_TO_LIVE
 
Constructor Summary
BlockingPortalCache(PortalCache<K,V> portalCache)
           
 
Method Summary
 V get(K key)
           
 void put(K key, V value)
           
 void put(K key, V value, int timeToLive)
           
 void remove(K key)
           
 void removeAll()
           
 
Methods inherited from class com.liferay.portal.kernel.cache.PortalCacheWrapper
getKeys, getName, getPortalCacheManager, getPortalCacheName, getWrappedPortalCache, registerPortalCacheListener, registerPortalCacheListener, setPortalCache, unregisterPortalCacheListener, unregisterPortalCacheListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockingPortalCache

public BlockingPortalCache(PortalCache<K,V> portalCache)
Method Detail

get

public V get(K key)
Specified by:
get in interface PortalCache<K extends Serializable,V>
Overrides:
get in class PortalCacheWrapper<K extends Serializable,V>

put

public void put(K key,
                V value)
Specified by:
put in interface PortalCache<K extends Serializable,V>
Overrides:
put in class PortalCacheWrapper<K extends Serializable,V>

put

public void put(K key,
                V value,
                int timeToLive)
Specified by:
put in interface PortalCache<K extends Serializable,V>
Overrides:
put in class PortalCacheWrapper<K extends Serializable,V>

remove

public void remove(K key)
Specified by:
remove in interface PortalCache<K extends Serializable,V>
Overrides:
remove in class PortalCacheWrapper<K extends Serializable,V>

removeAll

public void removeAll()
Specified by:
removeAll in interface PortalCache<K extends Serializable,V>
Overrides:
removeAll in class PortalCacheWrapper<K extends Serializable,V>

Liferay 7.0-ce-a2