Package tigase.util.cache

## Class LRUConcurrentCache<K,​V>

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

-     public class LRUConcurrentCache<K,​V>
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `LRUConcurrentCache​(int maxEntries)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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()` |
    `java.lang.String` | `toString()` |

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

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

- - ### Constructor Detail

    - #### LRUConcurrentCache

          public LRUConcurrentCache​(int maxEntries)

  - ### Method Detail

    - #### 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 java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`