Interface CacheIF<K,V>

All Known Implementing Classes:
ClusteredCache, DefaultCache

public interface CacheIF<K,V>
INTERNAL: Simple interface used by innermost caches.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    clear(boolean notifyCluster)
     
    get(K key)
     
    put(K key, V value)
     
    remove(K key, boolean notifyCluster)
     
    void
    removeAll(Collection<K> keys, boolean notifyCluster)
     
    long
     
    void
    writeReport(Writer out, boolean dumpCache)
     
  • Method Details

    • get

      V get(K key)
    • put

      V put(K key, V value)
    • remove

      V remove(K key, boolean notifyCluster)
    • removeAll

      void removeAll(Collection<K> keys, boolean notifyCluster)
    • clear

      void clear(boolean notifyCluster)
    • writeReport

      void writeReport(Writer out, boolean dumpCache) throws IOException
      Throws:
      IOException
    • size

      long size()