Liferay 6.1.2-ce-ga3

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

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

public class ConcurrentLFUCache<K,V>
extends Object


Constructor Summary
ConcurrentLFUCache(int maxSize)
           
ConcurrentLFUCache(int maxSize, float loadFactor)
           
 
Method Summary
 void clear()
           
 long evictCount()
           
 int expectedSize()
           
 V get(K key)
           
 long hitCount()
           
 int maxSize()
           
 long missCount()
           
protected  void onRemove(K key, V value)
           
 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

ConcurrentLFUCache

public ConcurrentLFUCache(int maxSize)

ConcurrentLFUCache

public ConcurrentLFUCache(int maxSize,
                          float loadFactor)
Method Detail

clear

public void clear()

evictCount

public long evictCount()

expectedSize

public int expectedSize()

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

onRemove

protected void onRemove(K key,
                        V value)

Liferay 6.1.2-ce-ga3