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 longBASE_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 intcompareTo(ConcurrentLFUCache.CacheEntry<K,V> that)booleanequals(Object obj)inthashCode()longramBytesUsed()StringtoString() 
 - 
 
- 
- 
Method Detail
- 
compareTo
public int compareTo(ConcurrentLFUCache.CacheEntry<K,V> that)
- Specified by:
 compareToin interfaceComparable<K>
 
- 
ramBytesUsed
public long ramBytesUsed()
- Specified by:
 ramBytesUsedin interfaceorg.apache.lucene.util.Accountable
 
 - 
 
 -