mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1225 - ENH: Extend L2 server cache (near caching) for clearing "near caches"
This commit is contained in:
@@ -36,9 +36,24 @@ public interface SpiCacheManager {
|
||||
*/
|
||||
ServerCache getQueryCache(Class<?> beanType);
|
||||
|
||||
/**
|
||||
* Clear the caches for the given bean type.
|
||||
*/
|
||||
void clear(Class<?> beanType);
|
||||
|
||||
/**
|
||||
* Clear all the caches.
|
||||
*/
|
||||
void clearAll();
|
||||
|
||||
/**
|
||||
* Clear all local caches.
|
||||
*/
|
||||
void clearAllLocal();
|
||||
|
||||
/**
|
||||
* Clear local caches for the given bean type.
|
||||
*/
|
||||
void clearLocal(Class<?> beanType);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user