Liferay 6.2.0

com.liferay.portal.service.persistence.impl
Class CachelessTableMapperImpl.DummyPortalCache

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.CachelessTableMapperImpl.DummyPortalCache
All Implemented Interfaces:
PortalCache<Long,long[]>
Enclosing class:
CachelessTableMapperImpl<L extends BaseModel<L>,R extends BaseModel<R>>

protected static class CachelessTableMapperImpl.DummyPortalCache
extends Object
implements PortalCache<Long,long[]>


Field Summary
protected  String name
           
 
Constructor Summary
protected DummyPortalCache(String name)
           
 
Method Summary
 void destroy()
           
 Collection<long[]> get(Collection<Long> keys)
           
 long[] get(Long key)
           
 List<Long> getKeys()
           
 String getName()
           
 void put(Long key, long[] value)
           
 void put(Long key, long[] value, int timeToLive)
           
 void registerCacheListener(CacheListener<Long,long[]> cacheListener)
           
 void registerCacheListener(CacheListener<Long,long[]> cacheListener, CacheListenerScope cacheListenerScope)
           
 void remove(Long key)
           
 void removeAll()
           
 void unregisterCacheListener(CacheListener<Long,long[]> cacheListener)
           
 void unregisterCacheListeners()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected final String name
Constructor Detail

DummyPortalCache

protected DummyPortalCache(String name)
Method Detail

destroy

public void destroy()
Specified by:
destroy in interface PortalCache<Long,long[]>

get

public Collection<long[]> get(Collection<Long> keys)
Specified by:
get in interface PortalCache<Long,long[]>

get

public long[] get(Long key)
Specified by:
get in interface PortalCache<Long,long[]>

getKeys

public List<Long> getKeys()
Specified by:
getKeys in interface PortalCache<Long,long[]>

getName

public String getName()
Specified by:
getName in interface PortalCache<Long,long[]>

put

public void put(Long key,
                long[] value)
Specified by:
put in interface PortalCache<Long,long[]>

put

public void put(Long key,
                long[] value,
                int timeToLive)
Specified by:
put in interface PortalCache<Long,long[]>

registerCacheListener

public void registerCacheListener(CacheListener<Long,long[]> cacheListener)
Specified by:
registerCacheListener in interface PortalCache<Long,long[]>

registerCacheListener

public void registerCacheListener(CacheListener<Long,long[]> cacheListener,
                                  CacheListenerScope cacheListenerScope)
Specified by:
registerCacheListener in interface PortalCache<Long,long[]>

remove

public void remove(Long key)
Specified by:
remove in interface PortalCache<Long,long[]>

removeAll

public void removeAll()
Specified by:
removeAll in interface PortalCache<Long,long[]>

unregisterCacheListener

public void unregisterCacheListener(CacheListener<Long,long[]> cacheListener)
Specified by:
unregisterCacheListener in interface PortalCache<Long,long[]>

unregisterCacheListeners

public void unregisterCacheListeners()
Specified by:
unregisterCacheListeners in interface PortalCache<Long,long[]>

Liferay 6.2.0