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
-
Constructor Summary
Constructors Constructor Description WingsCacheHelper()
-
Method Summary
Modifier and Type Method Description static CacheManagergetMemory()static CacheManagergetServer()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 voidputManagers(Map<String, CacheManager> mngs)Set CacheManager name and its Resolver static Map<String, Set<String>>getCacheMeta(Class<out Object> clz)static Map<String, Set<String>>getCacheMeta(Class<out Object> claz, String method)static Map<CacheManager, Set<String>>getManager(Class<out Object> clz)static Map<CacheManager, Set<String>>getManager(Class<out Object> claz, String method)static Map<String, Set<Cache>>getCaches(Class<out Object> clz)static Map<String, Set<Cache>>getCaches(Class<out Object> claz, String method)static voidsetOperation(Method method, Collection<CacheOperation> opr)-
-
Method Detail
-
getMemory
@NotNull() static CacheManager getMemory()
-
getServer
@NotNull() static CacheManager getServer()
-
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)
-
putManagers
static void putManagers(Map<String, CacheManager> mngs)
Set CacheManager name and its Resolver
-
getCacheMeta
@NotNull() static Map<String, Set<String>> getCacheMeta(Class<out Object> claz, String method)
-
getManager
@NotNull() static Map<CacheManager, Set<String>> getManager(Class<out Object> claz, String method)
-
getCaches
@NotNull() static Map<String, Set<Cache>> getCaches(Class<out Object> claz, String method)
-
setOperation
static void setOperation(Method method, Collection<CacheOperation> opr)
-
-
-
-