com.liferay.portal.kernel.dao.orm
Interface EntityCache
- All Known Implementing Classes:
- EntityCacheImpl
public interface EntityCache
Method Summary |
void |
clearCache()
|
void |
clearCache(String className)
|
void |
clearLocalCache()
|
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)
|
clearCache
void clearCache()
clearCache
void clearCache(String className)
clearLocalCache
void clearLocalCache()
getResult
Object getResult(boolean entityCacheEnabled,
Class<?> clazz,
Serializable primaryKey)
invalidate
void invalidate()
loadResult
Object loadResult(boolean entityCacheEnabled,
Class<?> clazz,
Serializable primaryKey,
SessionFactory sessionFactory)
putResult
void putResult(boolean entityCacheEnabled,
Class<?> clazz,
Serializable primaryKey,
Object result)
removeCache
void removeCache(String className)
removeResult
void removeResult(boolean entityCacheEnabled,
Class<?> clazz,
Serializable primaryKey)