Class CachingRelMetadataProvider.CacheEntry

  • Enclosing class:
    CachingRelMetadataProvider

    private static class CachingRelMetadataProvider.CacheEntry
    extends java.lang.Object
    An entry in the cache. Consists of the cached object and the timestamp when the entry is valid. If read at a later timestamp, the entry will be invalid and will be re-computed as if it did not exist. The net effect is a lazy-flushing cache.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.Object result  
      (package private) long timestamp  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CacheEntry()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • timestamp

        long timestamp
      • result

        java.lang.Object result
    • Constructor Detail

      • CacheEntry

        private CacheEntry()