Class MemtableCleanerThread<P extends MemtablePool>


  • public class MemtableCleanerThread<P extends MemtablePool>
    extends InfiniteLoopExecutor
    A thread that reclaims memory from a MemtablePool on demand. The actual reclaiming work is delegated to the cleaner Runnable, e.g., FlushLargestColumnFamily
    • Constructor Detail

      • MemtableCleanerThread

        public MemtableCleanerThread​(P pool,
                                     MemtableCleaner cleaner)
    • Method Detail

      • trigger

        public void trigger()
      • numPendingTasks

        public int numPendingTasks()
        Return the number of pending tasks