|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jcms.db.CacheUtil
public final class CacheUtil
Provides Utilities methods to manage Hibernate second level cache and Query Cache invalidations.
| Method Summary | |
|---|---|
static void |
removeQueryCacheEntity(String entityName)
Removes a DBData from the query cache. |
static void |
removeSecondLevelCacheEntry(String entityName,
Long rowId)
Removes a DBData from the second level cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void removeSecondLevelCacheEntry(String entityName,
Long rowId)
DBData from the second level cache.
entityName - the id of the DBData to remove in the second level cache.
IllegalStateException - if the cache is not Status.STATUS_ALIVEpublic static void removeQueryCacheEntity(String entityName)
DBData from the query cache.
entityName - the id of the DBData to remove in the second level cache.
IllegalStateException - if the cache is not Status.STATUS_ALIVE
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||