Package org.apache.solr.util
Class ConcurrentLRUCache.CacheEntry<K,V>
java.lang.Object
org.apache.solr.util.ConcurrentLRUCache.CacheEntry<K,V>
- All Implemented Interfaces:
Comparable<ConcurrentLRUCache.CacheEntry<K,,V>> org.apache.lucene.util.Accountable
- Enclosing class:
ConcurrentLRUCache<K,V>
public static class ConcurrentLRUCache.CacheEntry<K,V>
extends Object
implements Comparable<ConcurrentLRUCache.CacheEntry<K,V>>, org.apache.lucene.util.Accountable
-
Field Summary
FieldsFields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(ConcurrentLRUCache.CacheEntry<K, V> that) booleanCollection<org.apache.lucene.util.Accountable> inthashCode()longvoidsetLastAccessed(long lastAccessed) toString()
-
Field Details
-
BASE_RAM_BYTES_USED
public static long BASE_RAM_BYTES_USED
-
-
Constructor Details
-
CacheEntry
-
-
Method Details
-
setLastAccessed
public void setLastAccessed(long lastAccessed) -
compareTo
- Specified by:
compareToin interfaceComparable<K>
-
hashCode
public int hashCode() -
equals
-
toString
-
ramBytesUsed
public long ramBytesUsed()- Specified by:
ramBytesUsedin interfaceorg.apache.lucene.util.Accountable
-
getChildResources
- Specified by:
getChildResourcesin interfaceorg.apache.lucene.util.Accountable
-