Interface AppCache<K,​V>

  • All Known Implementing Classes:
    JCache

    public interface AppCache<K,​V>
    Author:
    Loc Ha
    • Method Detail

      • get

        V get​(K key)
      • put

        void put​(K key,
                 V value)
      • putIfAbsent

        boolean putIfAbsent​(K key,
                            V value)
      • containsKey

        boolean containsKey​(K key)
      • remove

        boolean remove​(K key)
      • remove

        boolean remove​(K key,
                       V oldValue)
      • removeAll

        void removeAll​(Set<? extends K> keys)
      • replace

        boolean replace​(K key,
                        V value)
      • replace

        boolean replace​(K key,
                        V oldValue,
                        V newValue)
      • clear

        void clear()