Liferay 7.0-ce-m6

com.liferay.portal.kernel.cache
Interface LowLevelCache<K extends Serializable,V>

All Superinterfaces:
PortalCache<K,V>
All Known Implementing Classes:
AbstractPortalCache, MemoryPortalCache, TestPortalCache

public interface LowLevelCache<K extends Serializable,V>
extends PortalCache<K,V>


Field Summary
 
Fields inherited from interface com.liferay.portal.kernel.cache.PortalCache
DEFAULT_TIME_TO_LIVE
 
Method Summary
 V putIfAbsent(K key, V value)
           
 V putIfAbsent(K key, V value, int timeToLive)
           
 boolean remove(K key, V value)
           
 V replace(K key, V value)
           
 V replace(K key, V value, int timeToLive)
           
 boolean replace(K key, V oldValue, V newValue)
           
 boolean replace(K key, V oldValue, V newValue, int timeToLive)
           
 
Methods inherited from interface com.liferay.portal.kernel.cache.PortalCache
get, getKeys, getName, getPortalCacheManager, put, put, registerCacheListener, registerCacheListener, remove, removeAll, unregisterCacheListener, unregisterCacheListeners
 

Method Detail

putIfAbsent

V putIfAbsent(K key,
              V value)

putIfAbsent

V putIfAbsent(K key,
              V value,
              int timeToLive)

remove

boolean remove(K key,
               V value)

replace

V replace(K key,
          V value)

replace

V replace(K key,
          V value,
          int timeToLive)

replace

boolean replace(K key,
                V oldValue,
                V newValue)

replace

boolean replace(K key,
                V oldValue,
                V newValue,
                int timeToLive)

Liferay 7.0-ce-m6