#1225 - ENH: Extend L2 server cache (near caching) for clearing "near caches"

This commit is contained in:
Rob Bygrave
2017-12-13 02:09:10 +13:00
parent 69c045443c
commit c7f4b56dd1
23 changed files with 585 additions and 65 deletions
@@ -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);
}