Liferay 6.0.5

com.liferay.portal.kernel.concurrent
Class ConcurrentLRUCache<K,V>

java.lang.Object
  extended by com.liferay.portal.kernel.concurrent.ConcurrentLRUCache<K,V>

public class ConcurrentLRUCache<K,V>
extends Object


Constructor Summary
ConcurrentLRUCache(int maxSize)
           
 
Method Summary
 long evictCount()
           
 V get(K key)
           
 long hitCount()
           
 int maxSize()
           
 long missCount()
           
 void put(K key, V value)
           
 long putCount()
           
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConcurrentLRUCache

public ConcurrentLRUCache(int maxSize)
Method Detail

evictCount

public long evictCount()

get

public V get(K key)

hitCount

public long hitCount()

maxSize

public int maxSize()

missCount

public long missCount()

put

public void put(K key,
                V value)

putCount

public long putCount()

size

public int size()

toString

public String toString()
Overrides:
toString in class Object

Liferay 6.0.5