Package org.aoju.bus.cache
Interface CacheX
- All Known Implementing Classes:
EhCache,GuavaCache,MemcachedCache,MemoryCache,NoOpCache,RedisCache,RedisClusterCache
public interface CacheX
缓存接口
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()清空缓存信息从缓存中获得对象read(Collection<String> keys) 从缓存中获得一组对象信息void从缓存中移除对象void将对象加入到缓存,使用指定失效时长void将对象加入到缓存,使用指定失效时长
-
Method Details
-
read
-
read
-
write
-
write
-
remove
-
clear
void clear()清空缓存信息
-