Located in compilation unit of com.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Weigher | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | weigh(K
the key to weigh key, V the value to weigh value)Implements com. |
| pack-priv Object |
| delegate | back to summary |
|---|---|
pack-priv final Weigher<? super K, ? super V> delegate
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| BoundedWeigher | back to summary |
|---|---|
| pack-priv BoundedWeigher(Weigher<? super K, ? super V> delegate) | |
| weigh | back to summary |
|---|---|
| public int weigh(K key, V value) Implements com. Doc from com. Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply relative to each other.
| |
| writeReplace | back to summary |
|---|---|
| pack-priv Object writeReplace() | |