Class SimpleLocalCacheImpl.CacheEntity<V>

java.lang.Object
org.summerboot.jexpress.integration.cache.SimpleLocalCacheImpl.CacheEntity<V>
Type Parameters:
V -
Enclosing class:
SimpleLocalCacheImpl<K,V>

public static class SimpleLocalCacheImpl.CacheEntity<V> extends Object
  • Field Details

    • value

      protected final V value
    • ttlMillis

      protected final long ttlMillis
  • Constructor Details

    • CacheEntity

      public CacheEntity(V value, Long ttlMilliseconds)
  • Method Details

    • getValue

      public V getValue()
    • getTtlMillis

      public long getTtlMillis()