Top Fields Constructors Methods
org.apache.tomcat.util.collections

public final Class ConcurrentCache<K, V>

extends Object
Class Inheritance
Imports
java.util.Map, .WeakHashMap, java.util.concurrent.ConcurrentHashMap

Field Summary

Modifier and TypeField and Description
private final Map<K, V>
private final Map<K, V>
private final int

Constructor Summary

AccessConstructor and Description
public
ConcurrentCache(int size)

Method Summary

Modifier and TypeMethod and Description
public V
get(K k)

public void
put(K k, V v)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

edenback to summary
private final Map<K, V> eden
longtermback to summary
private final Map<K, V> longterm
sizeback to summary
private final int size

Constructor Detail

ConcurrentCacheback to summary
public ConcurrentCache(int size)

Method Detail

getback to summary
public V get(K k)
putback to summary
public void put(K k, V v)