Interface Cache<K extends Serializable,​V>

  • All Known Implementing Classes:
    EhCache

    public interface Cache<K extends Serializable,​V>
    A generic cache
    Since:
    8.1.2
    Author:
    Marco Meschieri - LogicalDOC
    • Method Detail

      • contains

        boolean contains​(K key)
      • get

        V get​(K key)
      • put

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

        void remove​(K key)
      • clear

        void clear()
      • flush

        void flush()
      • getSize

        long getSize()