public interface CacheManager
Cache,
ConcurrentMapCacheManagervoid removeCache(String cacheName)
Delete the corresponding cache if it already exists.
The Cache.isExpired() of a deleted cache object must return false.
cacheName - cache name<K> Cache<K> getCache(String cacheName)
Get cache, if it does not exist create it first.
The obtained cache is not always guaranteed to be valid,
caller needs to ensure the timeliness of the cache itself through Cache.isExpired().
K - key typecacheName - cache nameCopyright © 2023. All rights reserved.