org.apache.cassandra.cache
Class AutoSavingCache.Writer

java.lang.Object
  extended by org.apache.cassandra.db.compaction.CompactionInfo.Holder
      extended by org.apache.cassandra.cache.AutoSavingCache.Writer
Enclosing class:
AutoSavingCache<K extends CacheKey,V>

public class AutoSavingCache.Writer
extends CompactionInfo.Holder


Constructor Summary
protected AutoSavingCache.Writer(int keysToSave)
           
 
Method Summary
 CompactionInfo getCompactionInfo()
           
 void saveCache()
           
 
Methods inherited from class org.apache.cassandra.db.compaction.CompactionInfo.Holder
isStopRequested, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoSavingCache.Writer

protected AutoSavingCache.Writer(int keysToSave)
Method Detail

getCompactionInfo

public CompactionInfo getCompactionInfo()
Specified by:
getCompactionInfo in class CompactionInfo.Holder

saveCache

public void saveCache()
               throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2012 The Apache Software Foundation