Caffeine - Caches - Eviction
EvictionCaffeine提供了三种类型的提出方式:基于容量的剔除、基于时间的剔除和基于引用的剔除。基于容量的剔除// Evict based on the number of entries in the cacheLoadingCache<Key, Graph> graphs = Caffeine.newBuilder() .maximumSize(10_00...