Interface Cache<K extends Serializable,V>

Type Parameters:
K - the key
V - the value
All Known Implementing Classes:
EhCache

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

    • contains

      boolean contains(K key)
    • getKeys

      Collection<K> getKeys()
    • 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()