ConcurrentCache (Apache Tomcat 9.0.118 API Documentation)
Description: declaration: package: org.apache.tomcat.util.collections, class: ConcurrentCache

# Class ConcurrentCache<K,V>

java.lang.Object
org.apache.tomcat.util.collections.ConcurrentCache<K,V>

public final class ConcurrentCache<K,V> extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ConcurrentCache(int size)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `V`
  `get(K k)`
  `void`
  `put(K k, V v)`

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### ConcurrentCache

    public ConcurrentCache(int size)

- ## Method Details

  - ### get

    public V get(K k)

  - ### put

    public void put(K k, V v)