public static class ConcurrentLFUCache.CacheEntry<K,V> extends Object implements Comparable<ConcurrentLFUCache.CacheEntry<K,V>>, Accountable
| Modifier and Type | Field and Description |
|---|---|
static long |
BASE_RAM_BYTES_USED |
| Constructor and Description |
|---|
CacheEntry(K key,
V value,
long lastAccessed) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ConcurrentLFUCache.CacheEntry<K,V> that) |
boolean |
equals(Object obj) |
int |
hashCode() |
long |
ramBytesUsed() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetChildResourcespublic int compareTo(ConcurrentLFUCache.CacheEntry<K,V> that)
compareTo in interface Comparable<ConcurrentLFUCache.CacheEntry<K,V>>public long ramBytesUsed()
ramBytesUsed in interface AccountableCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.