我是靠谱客的博主 灵巧翅膀,最近开发中收集的这篇文章主要介绍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 com.google.common.cache所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部