Class ConcurrentLRUCache.CacheEntry<K,​V>

    • Field Detail

      • BASE_RAM_BYTES_USED

        public static long BASE_RAM_BYTES_USED
    • Constructor Detail

      • CacheEntry

        public CacheEntry​(K key,
                          V value,
                          long createTime,
                          long lastAccessed)
    • Method Detail

      • setLastAccessed

        public void setLastAccessed​(long lastAccessed)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • ramBytesUsed

        public long ramBytesUsed()
        Specified by:
        ramBytesUsed in interface org.apache.lucene.util.Accountable
      • getChildResources

        public Collection<org.apache.lucene.util.Accountable> getChildResources()
        Specified by:
        getChildResources in interface org.apache.lucene.util.Accountable