- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 133 for cache (0.74 sec)
-
android/guava/src/com/google/common/cache/Weigher.java
* the License. */ package com.google.common.cache; import com.google.common.annotations.GwtCompatible; /** * Calculates the weights of cache entries. * * @author Charles Fry * @since 11.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface Weigher<K, V> { /** * Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 1.1K bytes - Viewed (0) -
guava/src/com/google/common/cache/Weigher.java
* the License. */ package com.google.common.cache; import com.google.common.annotations.GwtCompatible; /** * Calculates the weights of cache entries. * * @author Charles Fry * @since 11.0 */ @GwtCompatible @FunctionalInterface @ElementTypesAreNonnullByDefault public interface Weigher<K, V> { /** * Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 1.1K bytes - Viewed (0) -
guava/src/com/google/common/cache/package-info.java
* * <p>The core interface used to represent caches is {@link Cache}. In-memory caches can be * configured and created using {@link CacheBuilder}, with cache entries being loaded by {@link * CacheLoader}. Statistics about cache performance are exposed using {@link CacheStats}. * * <p>See the Guava User Guide article on <a * href="https://github.com/google/guava/wiki/CachesExplained">caches</a>. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 23 19:57:03 UTC 2023 - 1.5K bytes - Viewed (0) -
guava/src/com/google/common/cache/RemovalListener.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.cache; import com.google.common.annotations.GwtCompatible; /** * An object that can receive a notification when an entry is removed from a cache. The removal * resulting in notification could have occurred to an entry being manually removed or replaced, or
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/ForwardingCache.java
import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ExecutionException; import javax.annotation.CheckForNull; /** * A cache which forwards all its method calls to another cache. Subclasses should override one or * more methods to modify the behavior of the backing cache as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * @author Charles Fry * @since 10.0 */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/MapIteratorCache.java
@CheckForNull V getIfCached(@CheckForNull Object key) { Entry<K, V> entry = cacheEntry; // store local reference for thread-safety // Check cache. We use == on purpose because it's cheaper and a cache miss is ok. if (entry != null && entry.getKey() == key) { return entry.getValue(); } return null; } void clearCache() { cacheEntry = null; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 4.7K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/SubscriberRegistry.java
import com.google.common.base.MoreObjects; import com.google.common.base.Objects; import com.google.common.base.Throwables; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import com.google.common.collect.HashMultimap; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 22 13:05:46 UTC 2021 - 10.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheLoader.java
* @param function the function to be used for loading values; must never return {@code null} * @return a cache loader that loads values by passing each key to {@code function} */ public static <K, V> CacheLoader<K, V> from(Function<K, V> function) { return new FunctionToCacheLoader<>(function); } /** * Returns a cache loader based on an <i>existing</i> supplier instance. Note that there's no need
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 19 20:20:14 UTC 2022 - 9.6K bytes - Viewed (0) -
guava-gwt/src/com/google/common/ForceGuavaCompilation.gwt.xml
<module> <inherits name="com.google.common.annotations.Annotations" /> <inherits name="com.google.common.base.Base" /> <inherits name="com.google.common.cache.Cache" /> <inherits name="com.google.common.collect.Collect" /> <inherits name="com.google.common.escape.Escape" /> <inherits name="com.google.common.html.Html" /> <inherits name="com.google.common.io.Io" /> <inherits name="com.google.common.math.Math" />
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Sep 27 15:04:14 UTC 2021 - 1.1K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/AbstractLoadingCache.java
import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; /** * This class provides a skeletal implementation of the {@code Cache} interface to minimize the * effort required to implement this interface. * * <p>To implement a cache, the programmer needs only to extend this class and provide an * implementation for the {@link #get(Object)} and {@link #getIfPresent} methods. {@link
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat Aug 06 17:12:03 UTC 2022 - 2.7K bytes - Viewed (0)