public interface ServerCacheManager
Modifier and Type | Method and Description |
---|---|
void |
clear(Class<?> beanType)
This clears both the bean and query cache for a given type.
|
void |
clearAll()
Clear all the caches.
|
void |
clearAllLocal()
Clear all the local caches.
|
void |
clearLocal(Class<?> beanType)
Clear the local caches for this bean type.
|
ServerCache |
getBeanCache(Class<?> beanType)
Return the cache for beans of a particular type.
|
ServerCache |
getCollectionIdsCache(Class<?> beanType,
String propertyName)
Return the cache for associated many properties of a bean type.
|
ServerCache |
getNaturalKeyCache(Class<?> beanType)
Return the cache for mapping natural keys to id values.
|
ServerCache |
getQueryCache(Class<?> beanType)
Return the cache for query results of a particular type of bean.
|
boolean |
isLocalL2Caching()
Return true if the L2 caching is local.
|
boolean isLocalL2Caching()
Local L2 caching means that the cache updates should occur in foreground rather than background processing.
ServerCache getNaturalKeyCache(Class<?> beanType)
ServerCache getBeanCache(Class<?> beanType)
ServerCache getCollectionIdsCache(Class<?> beanType, String propertyName)
ServerCache getQueryCache(Class<?> beanType)
void clearAll()
void clearAllLocal()
void clearLocal(Class<?> beanType)
Copyright © 2019. All rights reserved.