public class AutoSavingCache.Writer extends CompactionInfo.Holder
Modifier | Constructor and Description |
---|---|
protected |
Writer(int keysToSave) |
Modifier and Type | Method and Description |
---|---|
CacheService.CacheType |
cacheType() |
CompactionInfo |
getCompactionInfo() |
boolean |
isGlobal()
if this compaction involves several/all tables we can safely check globalCompactionsPaused
in isStopRequested() below
|
void |
saveCache() |
isStopRequested, stop
public CacheService.CacheType cacheType()
public CompactionInfo getCompactionInfo()
getCompactionInfo
in class CompactionInfo.Holder
public void saveCache()
public boolean isGlobal()
CompactionInfo.Holder
isGlobal
in class CompactionInfo.Holder
Copyright © 2009- The Apache Software Foundation