Package org.apache.solr.util
Class ConcurrentLFUCache.CacheEntry<K,V>
- java.lang.Object
-
- org.apache.solr.util.ConcurrentLFUCache.CacheEntry<K,V>
-
- All Implemented Interfaces:
Comparable<ConcurrentLFUCache.CacheEntry<K,V>>
,org.apache.lucene.util.Accountable
- Enclosing class:
- ConcurrentLFUCache<K,V>
public static class ConcurrentLFUCache.CacheEntry<K,V> extends Object implements Comparable<ConcurrentLFUCache.CacheEntry<K,V>>, org.apache.lucene.util.Accountable
-
-
Field Summary
Fields Modifier and Type Field Description static long
BASE_RAM_BYTES_USED
-
Constructor Summary
Constructors Constructor Description CacheEntry(K key, V value, long lastAccessed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ConcurrentLFUCache.CacheEntry<K,V> that)
boolean
equals(Object obj)
int
hashCode()
long
ramBytesUsed()
String
toString()
-
-
-
Method Detail
-
compareTo
public int compareTo(ConcurrentLFUCache.CacheEntry<K,V> that)
- Specified by:
compareTo
in interfaceComparable<K>
-
ramBytesUsed
public long ramBytesUsed()
- Specified by:
ramBytesUsed
in interfaceorg.apache.lucene.util.Accountable
-
-