|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.cache.InstrumentingCache<K,V>
org.apache.cassandra.cache.AutoSavingCache<K,V>
org.apache.cassandra.cache.AutoSavingKeyCache<K,V>
public class AutoSavingKeyCache<K extends Pair<Descriptor,DecoratedKey>,V>
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.cassandra.cache.AutoSavingCache |
---|
AutoSavingCache.Writer |
Field Summary |
---|
Fields inherited from class org.apache.cassandra.cache.AutoSavingCache |
---|
cacheType, cfName, flushInProgress, saveTask, tableName |
Constructor Summary | |
---|---|
AutoSavingKeyCache(ICache<K,V> cache,
java.lang.String tableName,
java.lang.String cfName)
|
Method Summary | |
---|---|
double |
getConfiguredCacheSize(CFMetaData cfm)
|
java.nio.ByteBuffer |
translateKey(K key)
|
Methods inherited from class org.apache.cassandra.cache.AutoSavingCache |
---|
getAdjustedCacheSize, getCachePath, getWriter, readSaved, reduceCacheSize, scheduleSaving, submitWrite, updateCacheSize |
Methods inherited from class org.apache.cassandra.cache.InstrumentingCache |
---|
clear, get, getCapacity, getHits, getInternal, getKeySet, getRecentHitRate, getRequests, getSize, hotKeySet, isCapacitySetManually, isPutCopying, put, remove, setCapacity, size, updateCapacity |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AutoSavingKeyCache(ICache<K,V> cache, java.lang.String tableName, java.lang.String cfName)
Method Detail |
---|
public double getConfiguredCacheSize(CFMetaData cfm)
getConfiguredCacheSize
in class AutoSavingCache<K extends Pair<Descriptor,DecoratedKey>,V>
public java.nio.ByteBuffer translateKey(K key)
translateKey
in class AutoSavingCache<K extends Pair<Descriptor,DecoratedKey>,V>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |