Class ConcurrentLinkedHashMap.WeightedValue<V>
java.lang.Object
com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.WeightedValue<V>
- Enclosing class:
ConcurrentLinkedHashMap<K,
V>
A value, its weight, and the entry's status.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) boolean
(package private) boolean
isAlive()
If the entry is available in the hash-table and page replacement policy.(package private) boolean
isDead()
If the entry was removed from the hash-table and the page replacement policy.(package private) boolean
If the entry was removed from the hash-table and is awaiting removal from the page replacement policy.
-
Field Details
-
weight
final int weight -
value
-
-
Constructor Details
-
WeightedValue
WeightedValue(V value, int weight)
-
-
Method Details
-
contains
-
isAlive
boolean isAlive()If the entry is available in the hash-table and page replacement policy. -
isRetired
boolean isRetired()If the entry was removed from the hash-table and is awaiting removal from the page replacement policy. -
isDead
boolean isDead()If the entry was removed from the hash-table and the page replacement policy.
-