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 and Description
    `LRUConcurrentCache(int maxEntries)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 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 String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2004–2019 "Tigase, Inc.". All rights reserved.