com.liferay.portal.dao.orm.common
Class EntityCacheImpl
java.lang.Object
com.liferay.portal.dao.orm.common.EntityCacheImpl
- All Implemented Interfaces:
- CacheRegistryItem, EntityCache
public class EntityCacheImpl
- extends Object
- implements CacheRegistryItem, EntityCache
Method Summary |
void |
afterPropertiesSet()
|
void |
clearCache()
|
void |
clearCache(String className)
|
void |
clearLocalCache()
|
String |
getRegistryName()
|
Object |
getResult(boolean entityCacheEnabled,
Class<?> classObj,
Serializable primaryKeyObj,
SessionFactory sessionFactory)
|
void |
invalidate()
|
Object |
loadResult(boolean entityCacheEnabled,
Class<?> classObj,
Serializable primaryKeyObj,
SessionFactory sessionFactory)
|
void |
putResult(boolean entityCacheEnabled,
Class<?> classObj,
Serializable primaryKeyObj,
Object result)
|
void |
removeResult(boolean entityCacheEnabled,
Class<?> classObj,
Serializable primaryKeyObj)
|
void |
setMultiVMPool(MultiVMPool multiVMPool)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CACHE_NAME
public static final String CACHE_NAME
EntityCacheImpl
public EntityCacheImpl()
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<?> classObj,
Serializable primaryKeyObj,
SessionFactory sessionFactory)
- 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<?> classObj,
Serializable primaryKeyObj,
SessionFactory sessionFactory)
- Specified by:
loadResult
in interface EntityCache
putResult
public void putResult(boolean entityCacheEnabled,
Class<?> classObj,
Serializable primaryKeyObj,
Object result)
- Specified by:
putResult
in interface EntityCache
removeResult
public void removeResult(boolean entityCacheEnabled,
Class<?> classObj,
Serializable primaryKeyObj)
- Specified by:
removeResult
in interface EntityCache
setMultiVMPool
public void setMultiVMPool(MultiVMPool multiVMPool)