Package org.apache.cassandra.db.view
Class ViewBuilderTask
- java.lang.Object
-
- org.apache.cassandra.db.compaction.CompactionInfo.Holder
-
- org.apache.cassandra.db.view.ViewBuilderTask
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Long>
public class ViewBuilderTask extends CompactionInfo.Holder implements java.util.concurrent.Callable<java.lang.Long>
-
-
Constructor Summary
Constructors Constructor Description ViewBuilderTask(ColumnFamilyStore baseCfs, View view, Range<Token> range, Token lastToken, long keysBuilt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
call()
CompactionInfo
getCompactionInfo()
boolean
isGlobal()
if this compaction involves several/all tables we can safely check globalCompactionsPaused in isStopRequested() belowvoid
stop()
-
Methods inherited from class org.apache.cassandra.db.compaction.CompactionInfo.Holder
isStopRequested
-
-
-
-
Constructor Detail
-
ViewBuilderTask
public ViewBuilderTask(ColumnFamilyStore baseCfs, View view, Range<Token> range, Token lastToken, long keysBuilt)
-
-
Method Detail
-
call
public java.lang.Long call()
- Specified by:
call
in interfacejava.util.concurrent.Callable<java.lang.Long>
-
getCompactionInfo
public CompactionInfo getCompactionInfo()
- Specified by:
getCompactionInfo
in classCompactionInfo.Holder
-
stop
public void stop()
- Overrides:
stop
in classCompactionInfo.Holder
-
isGlobal
public boolean isGlobal()
Description copied from class:CompactionInfo.Holder
if this compaction involves several/all tables we can safely check globalCompactionsPaused in isStopRequested() below- Specified by:
isGlobal
in classCompactionInfo.Holder
-
-