About 3,300,000 results
Open links in new tab
  1. CachesExplained · google/guava Wiki · GitHub

    Guava allows you to set up your cache to allow the garbage collection of entries, by using weak references for keys or values, and by using soft references for values.

  2. Guava Cache - Baeldung

    Jul 1, 2022 · In this tutorial, we’ll focus on the Guava Cache implementation, including basic usage, eviction policies, refreshing the cache, and some interesting bulk operations.

  3. Cache (Guava: Google Core Libraries for Java 21.0 API)

    Cache entries are manually added using get(Object, Callable) or put(Object, Object), and are stored in the cache until either evicted or manually invalidated. Implementations of this …

  4. Introduction to Caching with Google Guava: A Simple and

    Jul 17, 2024 · In this article, we will delve into implementing an LFU (Least Frequently Used) cache using Google Guava. We will explore how Guava provides the flexibility to build custom …

  5. CachesExplained · google/guava Wiki · GitHub

    Guava allows you to set up your cache to allow the garbage collection of entries, by using [weak references] for keys or values, and by using [soft references] for values.

  6. 简单高效的缓存解决方案--Guava Cache - 知乎

    Oct 17, 2023 · Guava Cache(也称为Guava缓存)是Google开源的一个Java库,用于实现本地缓存。 它是Guava项目的一部分,是Google对Java集合框架的扩展和增强。

  7. Java Memory Optimization with Guava Cache: A Real-World Guide

    Apr 17, 2025 · In this post, I’ll walk you through a real-world scenario where a Java service was running into memory issues — and how we solved it using Guava’s Cache. TL;DR: Use …

  8. 深入解析 Guava Cache- 从基本用法、回收策略、刷新策略到实现 …

    May 15, 2025 · Guava Cache 是非常强大的本地缓存工具,提供了非常简单 API 供开发者使用。 这篇文章,我们将详细介绍 Guava Cache 的 基本用法 、 回收策略, 刷新策略, 实现原理。

  9. Mastering Guava Cache in Java: Essential Methods, Best ... - Medium

    Mar 25, 2025 · Guava Cache is an in-memory caching library that provides a simple yet powerful mechanism for managing caches. It is designed to automatically manage cache size and …

  10. Guava - LoadingCache Interface - Online Tutorials Library

    Guava provides a very powerful memory based caching mechanism by an interface LoadingCache<K,V>. Values are automatically loaded in the cache and it provides many utility …