Package org.apache.cassandra.cache
Class AutoSavingCache.Writer
java.lang.Object
org.apache.cassandra.db.compaction.CompactionInfo.Holder
org.apache.cassandra.cache.AutoSavingCache.Writer
- Enclosing class:
- AutoSavingCache<K extends CacheKey,
V>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisGlobal()if this compaction involves several/all tables we can safely check globalCompactionsPaused in isStopRequested() belowvoidMethods inherited from class org.apache.cassandra.db.compaction.CompactionInfo.Holder
isStopRequested, stop
-
Constructor Details
-
Writer
protected Writer(int keysToSave)
-
-
Method Details
-
cacheType
-
getCompactionInfo
- Specified by:
getCompactionInfoin classCompactionInfo.Holder
-
saveCache
public void saveCache() -
isGlobal
public boolean isGlobal()Description copied from class:CompactionInfo.Holderif this compaction involves several/all tables we can safely check globalCompactionsPaused in isStopRequested() below- Specified by:
isGlobalin classCompactionInfo.Holder
-