Interface Cache<K,​V>

  • All Known Implementing Classes:
    LRUCache

    public interface Cache<K,​V>
    • Method Detail

      • put

        boolean put​(K key,
                    V value)
      • get

        java.util.Optional<V> get​(K key)
      • size

        int size()
      • isEmpty

        boolean isEmpty()
      • clear

        void clear()