Liferay 6.1.2-ce-ga3

com.liferay.portal.dao.orm.common
Class EntityCacheImpl

java.lang.Object
  extended by com.liferay.portal.dao.orm.common.EntityCacheImpl
All Implemented Interfaces:
CacheRegistryItem, EntityCache

public class EntityCacheImpl
extends Object
implements CacheRegistryItem, EntityCache


Field Summary
static String CACHE_NAME
           
 
Constructor Summary
EntityCacheImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 void clearCache()
           
 void clearCache(String className)
           
 void clearLocalCache()
           
 String getRegistryName()
           
 Object getResult(boolean entityCacheEnabled, Class<?> clazz, Serializable primaryKey)
           
 void invalidate()
           
 Object loadResult(boolean entityCacheEnabled, Class<?> clazz, Serializable primaryKey, SessionFactory sessionFactory)
           
 void putResult(boolean entityCacheEnabled, Class<?> clazz, Serializable primaryKey, Object result)
           
 void removeCache(String className)
           
 void removeResult(boolean entityCacheEnabled, Class<?> clazz, Serializable primaryKey)
           
 void setMultiVMPool(MultiVMPool multiVMPool)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CACHE_NAME

public static final String CACHE_NAME
Constructor Detail

EntityCacheImpl

public EntityCacheImpl()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()

clearCache

public void clearCache()
Specified by:
clearCache in interface EntityCache

clearCache

public void clearCache(String className)
Specified by:
clearCache in interface EntityCache

clearLocalCache

public void clearLocalCache()
Specified by:
clearLocalCache in interface EntityCache

getRegistryName

public String getRegistryName()
Specified by:
getRegistryName in interface CacheRegistryItem

getResult

public Object getResult(boolean entityCacheEnabled,
                        Class<?> clazz,
                        Serializable primaryKey)
Specified by:
getResult in interface EntityCache

invalidate

public void invalidate()
Specified by:
invalidate in interface CacheRegistryItem
Specified by:
invalidate in interface EntityCache

loadResult

public Object loadResult(boolean entityCacheEnabled,
                         Class<?> clazz,
                         Serializable primaryKey,
                         SessionFactory sessionFactory)
Specified by:
loadResult in interface EntityCache

putResult

public void putResult(boolean entityCacheEnabled,
                      Class<?> clazz,
                      Serializable primaryKey,
                      Object result)
Specified by:
putResult in interface EntityCache

removeCache

public void removeCache(String className)
Specified by:
removeCache in interface EntityCache

removeResult

public void removeResult(boolean entityCacheEnabled,
                         Class<?> clazz,
                         Serializable primaryKey)
Specified by:
removeResult in interface EntityCache

setMultiVMPool

public void setMultiVMPool(MultiVMPool multiVMPool)

Liferay 6.1.2-ce-ga3