public class ViewBuilderTask extends CompactionInfo.Holder implements java.util.concurrent.Callable<java.lang.Long>
Constructor and Description |
---|
ViewBuilderTask(ColumnFamilyStore baseCfs,
View view,
Range<Token> range,
Token lastToken,
long keysBuilt) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
call() |
CompactionInfo |
getCompactionInfo() |
boolean |
isGlobal()
if this compaction involves several/all tables we can safely check globalCompactionsPaused
in isStopRequested() below
|
void |
stop() |
isStopRequested
public ViewBuilderTask(ColumnFamilyStore baseCfs, View view, Range<Token> range, Token lastToken, long keysBuilt)
public java.lang.Long call()
call
in interface java.util.concurrent.Callable<java.lang.Long>
public CompactionInfo getCompactionInfo()
getCompactionInfo
in class CompactionInfo.Holder
public void stop()
stop
in class CompactionInfo.Holder
public boolean isGlobal()
CompactionInfo.Holder
isGlobal
in class CompactionInfo.Holder
Copyright © 2009-2021 The Apache Software Foundation