static final class LocalCache.WeightedStrongValueReference<K,V> extends LocalCache.StrongValueReference<K,V>
Modifier and Type | Field and Description |
---|---|
(package private) int |
weight |
referent
Constructor and Description |
---|
WeightedStrongValueReference(V referent,
int weight) |
Modifier and Type | Method and Description |
---|---|
int |
getWeight()
Returns the weight of this entry.
|
copyFor, get, getEntry, isActive, isLoading, notifyNewValue, waitForValue
WeightedStrongValueReference(V referent, int weight)
public int getWeight()
LocalCache.ValueReference
getWeight
in interface LocalCache.ValueReference<K,V>
getWeight
in class LocalCache.StrongValueReference<K,V>