Class CacheHelper
java.lang.Object
com.power4j.fist.security.core.authorization.service.CacheHelper
- Since:
- 1.0
- Author:
- CJ (power4j@outlook.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Optional<T>loadFromCache(org.springframework.cache.Cache cache, String serviceName, org.springframework.http.HttpMethod method) makeCacheKey(String serviceName, org.springframework.http.HttpMethod method) voidremoveCache(org.springframework.cache.Cache cache, String serviceName) booleanremoveCache(org.springframework.cache.Cache cache, String serviceName, org.springframework.http.HttpMethod method) <T> voidupdateCache(org.springframework.cache.Cache cache, String serviceName, org.springframework.http.HttpMethod method, List<T> data)
-
Constructor Details
-
CacheHelper
public CacheHelper()
-
-
Method Details
-
makeCacheKey
-
loadFromCache
-
updateCache
-
removeCache
public boolean removeCache(@Nullable org.springframework.cache.Cache cache, String serviceName, org.springframework.http.HttpMethod method) -
removeCache
-