Class ConcurrentSizedTimeoutCache.CacheEntry<K,V>

java.lang.Object
com.hypixel.hytale.server.worldgen.util.cache.ConcurrentSizedTimeoutCache.CacheEntry<K,V>
Enclosing class:
ConcurrentSizedTimeoutCache<K,V>

private static class ConcurrentSizedTimeoutCache.CacheEntry<K,V> extends Object
  • Field Details

    • TIMESTAMP

      private static final VarHandle TIMESTAMP
    • key

      @Nullable public K key
    • value

      @Nullable public V value
    • timestamp

      public long timestamp
  • Constructor Details

    • CacheEntry

      private CacheEntry()
  • Method Details

    • markAndGet

      @Nonnull protected V markAndGet(long timestamp)