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 |
NULL_ACCOUNTABLE
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, wait
getChildResources
public int compareTo(ConcurrentLFUCache.CacheEntry<K,V> that)
compareTo
in interface Comparable<ConcurrentLFUCache.CacheEntry<K,V>>
public long ramBytesUsed()
ramBytesUsed
in interface Accountable
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.