static class LocalCache.ComputingValueReference<K,V> extends LocalCache.LoadingValueReference<K,V>
futureValue, oldValue, stopwatch| Constructor and Description |
|---|
ComputingValueReference(LocalCache.ValueReference<K,V> oldValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLoading()
Returns true if a new value is currently loading, regardless of whether or not there is an
existing value.
|
compute, copyFor, elapsedNanos, get, getEntry, getOldValue, getWeight, isActive, loadFuture, notifyNewValue, set, setException, waitForValueComputingValueReference(LocalCache.ValueReference<K,V> oldValue)
public boolean isLoading()
LocalCache.ValueReferenceisLoading in interface LocalCache.ValueReference<K,V>isLoading in class LocalCache.LoadingValueReference<K,V>