Interface PinnableCache<K,​V>

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      V getAndPin​(K key)  
      boolean isPinned​(java.lang.Object key)  
      V putPinned​(K key, V value)  
      void setPinning​(K key, boolean pinned)  
      • Methods inherited from interface java.util.concurrent.ConcurrentMap

        compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
      • Methods inherited from interface java.util.Map

        clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
    • Method Detail

      • isPinned

        boolean isPinned​(java.lang.Object key)
      • setPinning

        void setPinning​(K key,
                        boolean pinned)
      • putPinned

        V putPinned​(K key,
                    V value)
      • getAndPin

        V getAndPin​(K key)