Located in compilation unit of com.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final NodeFactory | |
| pack-priv volatile Reference |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | containsValue(Object value)
Implements abstract com. true if the given objects are considered equivalent.
|
| public void | die()
Implements abstract com. |
| public K | getKey()
Implements abstract com. null if it has been reclaimed by the garbage collector.
|
| public Object | getKeyReference()
Implements abstract com. |
| public V | getValue()
Implements abstract com. null if it has been reclaimed by the garbage collector.
|
| public V | getValueReference()
Implements abstract com. |
| public boolean | isAlive()
Implements abstract com. |
| public boolean | isDead()
Implements abstract com. |
| public boolean | isRetired()
Implements abstract com. |
| public Object | newLookupKey(Object key)
Overrides default com. |
| public Node | newNode(K key, ReferenceQueue<K> keyReferenceQueue, V value, ReferenceQueue<V> valueReferenceQueue, int weight, long now)
Implements com. |
| public Node | newNode(Object keyReference, V value, ReferenceQueue<V> valueReferenceQueue, int weight, long now)
Implements com. |
| public Object | newReferenceKey(K key, ReferenceQueue<K> referenceQueue)
Overrides default com. |
| public void | retire()
Implements abstract com. |
| public void |
| FACTORY | back to summary |
|---|---|
| pack-priv static final NodeFactory<Object, Object> FACTORY Hides com. | |
| keyReference | back to summary |
|---|---|
| pack-priv volatile Reference<?> keyReference | |
| Interned | back to summary |
|---|---|
| pack-priv Interned() | |
| Interned | back to summary |
|---|---|
| pack-priv Interned(Reference<K> keyReference) | |
| containsValue | back to summary |
|---|---|
| public boolean containsValue(Object value) Implements abstract com. Doc from com. Returns
| |
| die | back to summary |
|---|---|
| public void die() Implements abstract com. Doc from com. Sets the node to the dead state.
| |
| getKey | back to summary |
|---|---|
| public K getKey() Implements abstract com. Doc from com. Return the key or
| |
| getKeyReference | back to summary |
|---|---|
| public Object getKeyReference() Implements abstract com. Doc from com. Returns the reference that the cache is holding the entry by. This is either the key if
strongly held or a
| |
| getValue | back to summary |
|---|---|
| public V getValue() Implements abstract com. Doc from com. Return the value or
| |
| getValueReference | back to summary |
|---|---|
| public V getValueReference() Implements abstract com. Doc from com. Returns the reference to the value. This is either the value if strongly held or a
| |
| isAlive | back to summary |
|---|---|
| public boolean isAlive() Implements abstract com. Doc from com. If the entry is available in the hash-table and page replacement policy.
| |
| isDead | back to summary |
|---|---|
| public boolean isDead() Implements abstract com. Doc from com. If the entry was removed from the hash-table and the page replacement policy.
| |
| isRetired | back to summary |
|---|---|
| public boolean isRetired() Implements abstract com. Doc from com. If the entry was removed from the hash-table and is awaiting removal from the page replacement policy.
| |
| newLookupKey | back to summary |
|---|---|
| public Object newLookupKey(Object key) Overrides default com. Doc from com. Returns a key suitable for looking up an entry in the cache. If the cache holds keys strongly
then the key is returned. If the cache holds keys weakly then a
| |
| newNode | back to summary |
|---|---|
| public Node Implements com. Doc from com. Returns a node optimized for the specified features.
| |
| newNode | back to summary |
|---|---|
| public Node Implements com. Doc from com. Returns a node optimized for the specified features.
| |
| newReferenceKey | back to summary |
|---|---|
| public Object newReferenceKey(K key, ReferenceQueue<K> referenceQueue) Overrides default com. Doc from com. Returns a key suitable for inserting into the cache. If the cache holds keys strongly then the
key is returned. If the cache holds keys weakly then a
| |
| retire | back to summary |
|---|---|
| public void retire() Implements abstract com. Doc from com. Sets the node to the retired state.
| |
| setValue | back to summary |
|---|---|
public void setValue(V value, ReferenceQueue<V> referenceQueue)
| |