From 2ce49a45286ecff1d5a7e967207c04e3b98a11d3 Mon Sep 17 00:00:00 2001 From: Ben Manes Date: Sun, 4 Aug 2019 11:59:03 -0700 Subject: [PATCH] Improved Javadoc for `Cache#invalidate(key)` (fixes #284) --- .../main/java/com/github/benmanes/caffeine/cache/Cache.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/caffeine/src/main/java/com/github/benmanes/caffeine/cache/Cache.java b/caffeine/src/main/java/com/github/benmanes/caffeine/cache/Cache.java index 1b230f7102..dfd6355716 100644 --- a/caffeine/src/main/java/com/github/benmanes/caffeine/cache/Cache.java +++ b/caffeine/src/main/java/com/github/benmanes/caffeine/cache/Cache.java @@ -153,7 +153,7 @@ default Map getAll(@NonNull Iterable keys, /** * Discards any cached value for the {@code key}. The behavior of this operation is undefined for - * an entry that is being loaded and is otherwise not present. + * an entry that is being loaded (or reloaded) and is otherwise not present. * * @param key the key whose mapping is to be removed from the cache * @throws NullPointerException if the specified key is null @@ -162,7 +162,7 @@ default Map getAll(@NonNull Iterable keys, /** * Discards any cached values for the {@code keys}. The behavior of this operation is undefined - * for an entry that is being loaded and is otherwise not present. + * for an entry that is being loaded (or reloaded) and is otherwise not present. * * @param keys the keys whose associated values are to be removed * @throws NullPointerException if the specified collection is null or contains a null element @@ -171,7 +171,7 @@ default Map getAll(@NonNull Iterable keys, /** * Discards all entries in the cache. The behavior of this operation is undefined for an entry - * that is being loaded and is otherwise not present. + * that is being loaded (or reloaded) and is otherwise not present. */ void invalidateAll();