public class EntityCacheImpl
extends java.lang.Object
implements org.springframework.beans.factory.BeanFactoryAware, com.liferay.portal.kernel.cache.CacheRegistryItem, com.liferay.portal.kernel.dao.orm.EntityCache
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CACHE_NAME |
| Constructor and Description |
|---|
EntityCacheImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
clearCache() |
void |
clearCache(java.lang.String className) |
void |
clearLocalCache() |
com.liferay.portal.kernel.cache.PortalCache<java.io.Serializable,java.io.Serializable> |
getPortalCache(java.lang.Class<?> clazz) |
java.lang.String |
getRegistryName() |
java.io.Serializable |
getResult(boolean entityCacheEnabled,
java.lang.Class<?> clazz,
java.io.Serializable primaryKey) |
void |
invalidate() |
java.io.Serializable |
loadResult(boolean entityCacheEnabled,
java.lang.Class<?> clazz,
java.io.Serializable primaryKey,
com.liferay.portal.kernel.dao.orm.SessionFactory sessionFactory) |
void |
putResult(boolean entityCacheEnabled,
java.lang.Class<?> clazz,
java.io.Serializable primaryKey,
java.io.Serializable result) |
void |
removeCache(java.lang.String className) |
void |
removeResult(boolean entityCacheEnabled,
java.lang.Class<?> clazz,
java.io.Serializable primaryKey) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setMultiVMPool(com.liferay.portal.kernel.cache.MultiVMPool multiVMPool) |
public void afterPropertiesSet()
public void clearCache()
clearCache in interface com.liferay.portal.kernel.dao.orm.EntityCachepublic void clearCache(java.lang.String className)
clearCache in interface com.liferay.portal.kernel.dao.orm.EntityCachepublic void clearLocalCache()
clearLocalCache in interface com.liferay.portal.kernel.dao.orm.EntityCachepublic com.liferay.portal.kernel.cache.PortalCache<java.io.Serializable,java.io.Serializable> getPortalCache(java.lang.Class<?> clazz)
getPortalCache in interface com.liferay.portal.kernel.dao.orm.EntityCachepublic java.lang.String getRegistryName()
getRegistryName in interface com.liferay.portal.kernel.cache.CacheRegistryItempublic java.io.Serializable getResult(boolean entityCacheEnabled,
java.lang.Class<?> clazz,
java.io.Serializable primaryKey)
getResult in interface com.liferay.portal.kernel.dao.orm.EntityCachepublic void invalidate()
invalidate in interface com.liferay.portal.kernel.cache.CacheRegistryIteminvalidate in interface com.liferay.portal.kernel.dao.orm.EntityCachepublic java.io.Serializable loadResult(boolean entityCacheEnabled,
java.lang.Class<?> clazz,
java.io.Serializable primaryKey,
com.liferay.portal.kernel.dao.orm.SessionFactory sessionFactory)
loadResult in interface com.liferay.portal.kernel.dao.orm.EntityCachepublic void putResult(boolean entityCacheEnabled,
java.lang.Class<?> clazz,
java.io.Serializable primaryKey,
java.io.Serializable result)
putResult in interface com.liferay.portal.kernel.dao.orm.EntityCachepublic void removeCache(java.lang.String className)
removeCache in interface com.liferay.portal.kernel.dao.orm.EntityCachepublic void removeResult(boolean entityCacheEnabled,
java.lang.Class<?> clazz,
java.io.Serializable primaryKey)
removeResult in interface com.liferay.portal.kernel.dao.orm.EntityCachepublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwarepublic void setMultiVMPool(com.liferay.portal.kernel.cache.MultiVMPool multiVMPool)