Class FieldCache.CacheEntry

  • Enclosing interface:

    public static final class FieldCache.CacheEntry
    extends Object
    EXPERT: A unique Identifier/Description for each item in the FieldCache. Can be useful for logging/debugging.
    WARNING: This API is experimental and might change in incompatible ways in the next release.
    • Constructor Detail

      • CacheEntry

        public CacheEntry​(org.apache.lucene.index.IndexReader.CacheKey readerKey,
                          String fieldName,
                          Class<?> cacheType,
                          Object custom,
                          org.apache.lucene.util.Accountable value)
    • Method Detail

      • getReaderKey

        public Object getReaderKey()
      • getFieldName

        public String getFieldName()
      • getCacheType

        public Class<?> getCacheType()
      • getCustom

        public Object getCustom()
      • getValue

        public org.apache.lucene.util.Accountable getValue()
      • getEstimatedSize

        public String getEstimatedSize()
        The most recently estimated size of the value, null unless estimateSize has been called.