what-the-bank/sources/com/google/common/cache/LoadingCache.java

25 lines
668 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.common.cache;
import com.google.common.base.Function;
import com.google.common.collect.ImmutableMap;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.ExecutionException;
/* loaded from: classes2.dex */
public interface LoadingCache<K, V> extends Cache<K, V>, Function<K, V> {
@Override // com.google.common.base.Function
@Deprecated
V apply(K k);
@Override // com.google.common.cache.Cache
ConcurrentMap<K, V> asMap();
V get(K k) throws ExecutionException;
ImmutableMap<K, V> getAll(Iterable<? extends K> iterable) throws ExecutionException;
V getUnchecked(K k);
void refresh(K k);
}