Class EntityCacheUtil
Object
com.liferay.portal.kernel.dao.orm.EntityCacheUtil
- Author:
- Brian Wing Shun Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
clearCache
(Class<?> clazz) static void
static EntityCache
static Serializable
getLocalCacheResult
(Class<?> clazz, Serializable primaryKey) static PortalCache<Serializable,
Serializable> getPortalCache
(Class<?> clazz) static Serializable
getResult
(Class<?> clazz, Serializable primaryKey) static void
static void
static void
putResult
(Class<?> clazz, Serializable primaryKey, Serializable result) static void
removeCache
(String className) static void
removeResult
(Class<?> clazz, BaseModel<?> baseModel) static void
removeResult
(Class<?> clazz, Serializable primaryKey)
-
Constructor Details
-
EntityCacheUtil
public EntityCacheUtil()
-
-
Method Details
-
clearCache
public static void clearCache() -
clearCache
-
clearLocalCache
public static void clearLocalCache() -
getEntityCache
-
getLocalCacheResult
-
getPortalCache
-
getResult
-
invalidate
public static void invalidate() -
putResult
-
putResult
-
removeCache
-
removeResult
-
removeResult
-