Package tigase.util.cache

# Class LRUConcurrentCache<K,V>

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

public class LRUConcurrentCache<K,V> extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LRUConcurrentCache(int maxEntries)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `clear()`
  `boolean`
  `containsKey(K key)`
  `V`
  `get(K key)`
  `int`
  `limit()`
  `void`
  `put(K key, V value)`
  `V`
  `remove(K key)`
  `int`
  `size()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## 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`