Uses of Interface
com.sure.tool.cache.Cache

Packages that use Cache
Package
Description
 
  • Uses of Cache in com.sure.tool.cache

    Classes in com.sure.tool.cache that implement Cache
    Modifier and Type
    Class
    Description
    class 
    先进先出缓存:容量满时淘汰最早写入的条目,参考 Hutool 的 FIFOCache 设计。
    class 
    最不经常使用缓存:容量满时淘汰访问频率最低的条目(频率相同淘汰最早写入),参考 Hutool 的 LFUCache 设计。
    class 
    最近最少使用缓存:容量满时淘汰最久未访问的条目,参考 Hutool 的 LRUCache 设计。
    class 
    定时过期缓存:条目可设定存活时间(TTL),读取时惰性过期,参考 Hutool 的 TimedCache 设计。
    class 
    弱引用缓存:值以 WeakReference 持有,对象被 GC 回收后自动清理键; 支持可选 TTL(默认不过期)与容量上限(0 表示无上限),参考 Hutool 的 WeakCache 设计。