Class FieldCache.CacheEntry

  • Enclosing interface:
    FieldCache

    public static final class FieldCache.CacheEntry
    extends java.lang.Object
    EXPERT: A unique Identifier/Description for each item in the FieldCache. Can be useful for logging/debugging.
    • Constructor Summary

      Constructors 
      Constructor Description
      CacheEntry​(java.lang.Object readerKey, java.lang.String fieldName, java.lang.Class<?> cacheType, java.lang.Object custom, java.lang.Object value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void estimateSize()
      Computes (and stores) the estimated size of the cache Value
      java.lang.Class<?> getCacheType()  
      java.lang.Object getCustom()  
      java.lang.String getEstimatedSize()
      The most recently estimated size of the value, null unless estimateSize has been called.
      java.lang.String getFieldName()  
      java.lang.Object getReaderKey()  
      java.lang.Object getValue()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CacheEntry

        public CacheEntry​(java.lang.Object readerKey,
                          java.lang.String fieldName,
                          java.lang.Class<?> cacheType,
                          java.lang.Object custom,
                          java.lang.Object value)
    • Method Detail

      • getReaderKey

        public java.lang.Object getReaderKey()
      • getFieldName

        public java.lang.String getFieldName()
      • getCacheType

        public java.lang.Class<?> getCacheType()
      • getCustom

        public java.lang.Object getCustom()
      • getValue

        public java.lang.Object getValue()
      • estimateSize

        public void estimateSize()
        Computes (and stores) the estimated size of the cache Value
        See Also:
        getEstimatedSize()
      • getEstimatedSize

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object