我是靠谱客的博主 灵巧翅膀,这篇文章主要介绍Package com.google.common.cache,现在分享给大家,希望可以做个参考。

This package contains caching utilities.

See:
Description

Interface Summary
AbstractCache.StatsCounter Accumulates statistics during the operation of a Cache for presentation by Cache.stats().
Cache<K,V> A semi-persistent mapping from keys to values.
RemovalListener<K,V> An object that can receive a notification when an entry is removed from a cache.

Class Summary
AbstractCache<K,V> This class provides a skeletal implementation of the Cache interface to minimize the effort required to implement this interface.
AbstractCache.SimpleStatsCounter A thread-safe AbstractCache.StatsCounter implementation for use by Cache implementors.
CacheBuilder<K,V> A builder of Cache instances having any combination of the following features: least-recently-used eviction when a maximum size is exceeded time-based expiration of entries, measured since last access or last write keys automatically wrapped in weak references values automatically wrapped in weak or soft references notification of evicted (or otherwise removed) entries
CacheLoader<K,V> Computes or retrieves values, based on a key, for use in populating a Cache.
CacheStats Statistics about the performance of a Cache.
ForwardingCache<K,V> A cache which forwards all its method calls to another cache.
ForwardingCache.SimpleForwardingCache<K,V> A simplified version of ForwardingCache where subclasses can pass in an already constructed Cache as the delegete.
RemovalListeners A collection of common removal listeners.
RemovalNotification<K,V> A notification of the removal of a single entry.

最后

以上就是灵巧翅膀最近收集整理的关于Package com.google.common.cache的全部内容,更多相关Package内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(110)

评论列表共有 0 条评论

立即
投稿
返回
顶部