org.apache.cassandra.cache
Class InstrumentedCache<K,V>
java.lang.Object
org.apache.cassandra.cache.InstrumentedCache<K,V>
- Direct Known Subclasses:
- JMXInstrumentedCache
public class InstrumentedCache<K,V>
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstrumentedCache
public InstrumentedCache(int capacity)
put
public void put(K key,
V value)
get
public V get(K key)
getInternal
public V getInternal(K key)
remove
public void remove(K key)
getCapacity
public int getCapacity()
setCapacity
public void setCapacity(int capacity)
getSize
public int getSize()
getHits
public long getHits()
getRequests
public long getRequests()
getRecentHitRate
public double getRecentHitRate()
clear
public void clear()
Copyright © 2010 The Apache Software Foundation