public interface EntityCache
Modifier and Type | Method and Description |
---|---|
void |
clearCache() |
void |
clearCache(Class<?> clazz) |
void |
clearLocalCache() |
PortalCache<Serializable,Serializable> |
getPortalCache(Class<?> clazz) |
Serializable |
getResult(boolean entityCacheEnabled,
Class<?> clazz,
Serializable primaryKey) |
void |
invalidate() |
Serializable |
loadResult(boolean entityCacheEnabled,
Class<?> clazz,
Serializable primaryKey,
SessionFactory sessionFactory) |
void |
putResult(boolean entityCacheEnabled,
Class<?> clazz,
Serializable primaryKey,
Serializable result) |
void |
putResult(boolean entityCacheEnabled,
Class<?> clazz,
Serializable primaryKey,
Serializable result,
boolean quiet) |
void |
removeCache(String className) |
void |
removeResult(boolean entityCacheEnabled,
Class<?> clazz,
Serializable primaryKey) |
void clearCache()
void clearCache(Class<?> clazz)
void clearLocalCache()
PortalCache<Serializable,Serializable> getPortalCache(Class<?> clazz)
Serializable getResult(boolean entityCacheEnabled, Class<?> clazz, Serializable primaryKey)
void invalidate()
Serializable loadResult(boolean entityCacheEnabled, Class<?> clazz, Serializable primaryKey, SessionFactory sessionFactory)
void putResult(boolean entityCacheEnabled, Class<?> clazz, Serializable primaryKey, Serializable result)
void putResult(boolean entityCacheEnabled, Class<?> clazz, Serializable primaryKey, Serializable result, boolean quiet)
void removeCache(String className)
void removeResult(boolean entityCacheEnabled, Class<?> clazz, Serializable primaryKey)