Interface SoftReferenceCache.CacheReference

All Known Implementing Classes:
SoftReferenceCache.HardCacheReference, SoftReferenceCache.SoftCacheReference
Enclosing class:
SoftReferenceCache

protected static interface SoftReferenceCache.CacheReference
  • Method Details

    • getId

      Object getId()
    • get

      Object get()
    • getDeadline

      Instant getDeadline()
    • hasExpired

      default boolean hasExpired(Clock clock)