@Deprecated @ParametersAreNonnullByDefault public final class UnboundedRacyLoadingCache<K,V> extends Object implements com.google.common.cache.LoadingCache<K,V>
Constructor and Description |
---|
UnboundedRacyLoadingCache(int initialSize,
com.google.common.cache.CacheLoader<K,V> loader)
Deprecated.
|
UnboundedRacyLoadingCache(int initialSize,
int concurrency,
com.google.common.cache.CacheLoader<K,V> loader)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
V |
apply(K key)
Deprecated.
|
ConcurrentMap<K,V> |
asMap()
Deprecated.
|
void |
cleanUp()
Deprecated.
|
V |
get(K key)
Deprecated.
|
V |
get(K key,
Callable<? extends V> valueLoader)
Deprecated.
|
com.google.common.collect.ImmutableMap<K,V> |
getAll(Iterable<? extends K> keys)
Deprecated.
|
com.google.common.collect.ImmutableMap<K,V> |
getAllPresent(Iterable<?> keys)
Deprecated.
|
V |
getIfPresent(Object key)
Deprecated.
|
V |
getUnchecked(K key)
Deprecated.
|
void |
invalidate(Object key)
Deprecated.
|
void |
invalidateAll()
Deprecated.
|
void |
invalidateAll(Iterable<?> keys)
Deprecated.
|
void |
put(K key,
V value)
Deprecated.
|
void |
putAll(Map<? extends K,? extends V> m)
Deprecated.
|
void |
refresh(K key)
Deprecated.
|
long |
size()
Deprecated.
|
com.google.common.cache.CacheStats |
stats()
Deprecated.
|
String |
toString()
Deprecated.
|
public UnboundedRacyLoadingCache(int initialSize, com.google.common.cache.CacheLoader<K,V> loader)
public V get(K key) throws ExecutionException
get
in interface com.google.common.cache.LoadingCache<K,V>
ExecutionException
public com.google.common.collect.ImmutableMap<K,V> getAll(Iterable<? extends K> keys) throws ExecutionException
getAll
in interface com.google.common.cache.LoadingCache<K,V>
ExecutionException
public void refresh(K key)
public ConcurrentMap<K,V> asMap()
public V get(K key, Callable<? extends V> valueLoader) throws ExecutionException
get
in interface com.google.common.cache.Cache<K,V>
ExecutionException
public com.google.common.collect.ImmutableMap<K,V> getAllPresent(Iterable<?> keys)
public void invalidate(Object key)
public void invalidateAll(Iterable<?> keys)
public void invalidateAll()
public long size()
public com.google.common.cache.CacheStats stats()
public void cleanUp()
Copyright © 2018 SPF4J. All rights reserved.