Class SLRUCache<K,​V>


  • public abstract class SLRUCache<K,​V>
    extends SLRUMap<K,​V>
    • Constructor Detail

      • SLRUCache

        protected SLRUCache​(int protectedQueueSize,
                            int probationalQueueSize)
    • Method Detail

      • createValue

        @NotNull
        public abstract V createValue​(K key)
      • get

        @NotNull
        public V get​(K key)
        Overrides:
        get in class SLRUMap<K,​V>
      • getIfCached

        @Nullable
        public V getIfCached​(K key)