Modifier | Constructor and Description |
---|---|
protected |
LRUCacheEntry(K key,
V value)
Creates a new double linked cell, storing the object we
want to cache and the key that is used to retrieve it.
|
Modifier and Type | Method and Description |
---|---|
K |
getKey()
Get key
|
V |
getValue()
Get value
|
void |
reset()
Reset
|
void |
setNext(LRUCache.LRUCacheEntry<K,V> v)
Set next
|
void |
setPrev(LRUCache.LRUCacheEntry<K,V> v)
Set prev
|
String |
toString() |
void |
updateTimestamp()
Update timestamp
|
public K getKey()
public V getValue()
public void setNext(LRUCache.LRUCacheEntry<K,V> v)
v
- The valuepublic void setPrev(LRUCache.LRUCacheEntry<K,V> v)
v
- The valuepublic void updateTimestamp()
public void reset()
Copyright © 2021 JBoss by Red Hat. All rights reserved.