Package | Description |
---|---|
com.google.common.cache |
This package contains caching utilities.
|
Modifier and Type | Method and Description |
---|---|
(package private) LocalCache.LoadingValueReference<K,V> |
LocalCache.Segment.insertLoadingValueReference(K key,
int hash,
boolean checkTime)
Returns a newly inserted
LoadingValueReference , or null if the live value reference
is already loading. |
Modifier and Type | Method and Description |
---|---|
(package private) V |
LocalCache.Segment.getAndRecordStats(K key,
int hash,
LocalCache.LoadingValueReference<K,V> loadingValueReference,
ListenableFuture<V> newValue)
Waits uninterruptibly for
newValue to be loaded, and then records loading stats. |
(package private) ListenableFuture<V> |
LocalCache.Segment.loadAsync(K key,
int hash,
LocalCache.LoadingValueReference<K,V> loadingValueReference,
CacheLoader<? super K,V> loader) |
(package private) V |
LocalCache.Segment.loadSync(K key,
int hash,
LocalCache.LoadingValueReference<K,V> loadingValueReference,
CacheLoader<? super K,V> loader) |
(package private) boolean |
LocalCache.Segment.removeLoadingValue(K key,
int hash,
LocalCache.LoadingValueReference<K,V> valueReference) |
(package private) boolean |
LocalCache.Segment.storeLoadedValue(K key,
int hash,
LocalCache.LoadingValueReference<K,V> oldValueReference,
V newValue) |