Liferay 6.1.2-ce-ga3

com.liferay.portal.cache.transactional
Class TransactionalPortalCache

java.lang.Object
  extended by com.liferay.portal.cache.transactional.TransactionalPortalCache
All Implemented Interfaces:
PortalCache

public class TransactionalPortalCache
extends Object
implements PortalCache


Field Summary
protected static Serializable NULL_HOLDER
           
 
Constructor Summary
TransactionalPortalCache(PortalCache portalCache)
           
 
Method Summary
 void destroy()
           
 Collection<Object> get(Collection<Serializable> keys)
           
 Object get(Serializable key)
           
 String getName()
           
 void put(Serializable key, Object value)
           
 void put(Serializable key, Object value, int timeToLive)
           
 void put(Serializable key, Serializable value)
           
 void put(Serializable key, Serializable value, int timeToLive)
           
 void registerCacheListener(CacheListener cacheListener)
           
 void registerCacheListener(CacheListener cacheListener, CacheListenerScope cacheListenerScope)
           
 void remove(Serializable key)
           
 void removeAll()
           
 void unregisterCacheListener(CacheListener cacheListener)
           
 void unregisterCacheListeners()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_HOLDER

protected static Serializable NULL_HOLDER
Constructor Detail

TransactionalPortalCache

public TransactionalPortalCache(PortalCache portalCache)
Method Detail

destroy

public void destroy()
Specified by:
destroy in interface PortalCache

get

public Collection<Object> get(Collection<Serializable> keys)
Specified by:
get in interface PortalCache

get

public Object get(Serializable key)
Specified by:
get in interface PortalCache

getName

public String getName()
Specified by:
getName in interface PortalCache

put

public void put(Serializable key,
                Object value)
Specified by:
put in interface PortalCache

put

public void put(Serializable key,
                Object value,
                int timeToLive)
Specified by:
put in interface PortalCache

put

public void put(Serializable key,
                Serializable value)
Specified by:
put in interface PortalCache

put

public void put(Serializable key,
                Serializable value,
                int timeToLive)
Specified by:
put in interface PortalCache

registerCacheListener

public void registerCacheListener(CacheListener cacheListener)
Specified by:
registerCacheListener in interface PortalCache

registerCacheListener

public void registerCacheListener(CacheListener cacheListener,
                                  CacheListenerScope cacheListenerScope)
Specified by:
registerCacheListener in interface PortalCache

remove

public void remove(Serializable key)
Specified by:
remove in interface PortalCache

removeAll

public void removeAll()
Specified by:
removeAll in interface PortalCache

unregisterCacheListener

public void unregisterCacheListener(CacheListener cacheListener)
Specified by:
unregisterCacheListener in interface PortalCache

unregisterCacheListeners

public void unregisterCacheListeners()
Specified by:
unregisterCacheListeners in interface PortalCache

Liferay 6.1.2-ce-ga3