Interface MemtableCleaner
-
public interface MemtableCleaner
The cleaner is used byMemtableCleanerThread
in order to reclaim space from memtables, normally by flushing the largest memtable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Future<java.lang.Boolean>
clean()
This is a function that schedules a cleaning task, normally flushing of the largest sstable.
-
-
-
Method Detail
-
clean
Future<java.lang.Boolean> clean()
This is a function that schedules a cleaning task, normally flushing of the largest sstable. The future will complete once the operation has completed and it will have a value set to true if the cleaner was able to execute the cleaning operation or if another thread concurrently executed the same clean operation. If no operation was even attempted, for example because no memtable was found, then the value will be false. The future will complete with an error if the cleaning operation encounters an error.
-
-