Class WingsCacheHelper
-
- All Implemented Interfaces:
public class WingsCacheHelper- Since:
2021-03-08
trydofor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classWingsCacheHelper.Meta
-
Method Summary
Modifier and Type Method Description static booleanisPrepared()whether this helper is prepared static CacheManagergetCacheManager(String name)static Set<String>getManagerNames(CacheManager manage)static CachegetCache(String manager, String cache)static CachegetMemoryCache(String name)static CachegetServerCache(String name)static CacheManagergetMemory()static CacheManagergetServer()static Map<String, Set<String>>getCacheMeta(Class<out Object> clz)manager/resolver name and its caches name static Map<String, Set<String>>getCacheMeta(Class<out Object> claz, String method)manager/resolver name and its caches name static Map<CacheManager, Set<String>>getManager(Class<out Object> clz)CacheManager and its names static Map<CacheManager, Set<String>>getManager(Class<out Object> claz, String method)CacheManager and its names static Map<String, Set<Cache>>getCaches(Class<out Object> clz)manager/resolver and its Caches static Map<String, Set<Cache>>getCaches(Class<out Object> claz, String method)manager/resolver and its Caches static voidprepareOperation(Method method, Collection<CacheOperation> opr)-
-
Method Detail
-
isPrepared
static boolean isPrepared()
whether this helper is prepared
-
getCacheManager
@Nullable() static CacheManager getCacheManager(String name)
-
getManagerNames
static Set<String> getManagerNames(CacheManager manage)
-
getMemoryCache
@NotNull() static Cache getMemoryCache(String name)
-
getServerCache
@NotNull() static Cache getServerCache(String name)
-
getMemory
@NotNull() static CacheManager getMemory()
-
getServer
@NotNull() static CacheManager getServer()
-
getCacheMeta
@NotNull() static Map<String, Set<String>> getCacheMeta(Class<out Object> clz)
manager/resolver name and its caches name
-
getCacheMeta
@NotNull() static Map<String, Set<String>> getCacheMeta(Class<out Object> claz, String method)
manager/resolver name and its caches name
-
getManager
@NotNull() static Map<CacheManager, Set<String>> getManager(Class<out Object> clz)
CacheManager and its names
-
getManager
@NotNull() static Map<CacheManager, Set<String>> getManager(Class<out Object> claz, String method)
CacheManager and its names
-
getCaches
@NotNull() static Map<String, Set<Cache>> getCaches(Class<out Object> clz)
manager/resolver and its Caches
-
getCaches
@NotNull() static Map<String, Set<Cache>> getCaches(Class<out Object> claz, String method)
manager/resolver and its Caches
-
prepareOperation
static void prepareOperation(Method method, Collection<CacheOperation> opr)
-
-
-
-