Class LRUConcurrentCache<K,V>

java.lang.Object
tigase.util.cache.LRUConcurrentCache<K,V>

public class LRUConcurrentCache<K,V> extends Object
  • Constructor Details

    • LRUConcurrentCache

      public LRUConcurrentCache(int maxEntries)
  • Method Details

    • clear

      public void clear()
    • containsKey

      public boolean containsKey(K key)
    • get

      public V get(K key)
    • put

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

      public V remove(K key)
    • size

      public int size()
    • limit

      public int limit()
    • toString

      public String toString()
      Overrides:
      toString in class Object