public final class CacheUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
removeQueryCacheEntity(java.lang.String entityName)
Removes a
DBData from the query cache. |
static void |
removeSecondLevelCacheEntry(java.lang.String entityName,
java.lang.Long rowId)
Removes a
DBData from the second level cache. |
public static void removeSecondLevelCacheEntry(java.lang.String entityName, java.lang.Long rowId)
DBData
from the second level cache.entityName
- the id of the DBData to remove in the second level cache.rowId
- the rowIdjava.lang.IllegalStateException
- if the cache is not Status.STATUS_ALIVE
public static void removeQueryCacheEntity(java.lang.String entityName)
DBData
from the query cache.entityName
- the id of the DBData to remove in the second level cache.java.lang.IllegalStateException
- if the cache is not Status.STATUS_ALIVE
Copyright © 2001-2010 Jalios SA. All Rights Reserved.