public class SSTableDeletingTask
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
SSTableDeletingTask(Descriptor realDescriptor,
SSTableReader referent)
realDescriptor is the actual descriptor for the sstable, the descriptor inside
referent can be 'faked' as FINAL for early opened files.
|
Modifier and Type | Method and Description |
---|---|
Tracker |
getTracker() |
static void |
pauseDeletions(boolean stop) |
static void |
rescheduleFailedTasks()
Retry all deletions that failed the first time around (presumably b/c the sstable was still mmap'd.)
Useful because there are times when we know GC has been invoked; also exposed as an mbean.
|
void |
run() |
void |
schedule() |
void |
setTracker(Tracker tracker) |
static void |
waitForDeletions()
for tests
|
public SSTableDeletingTask(Descriptor realDescriptor, SSTableReader referent)
public void setTracker(Tracker tracker)
public Tracker getTracker()
public void schedule()
public void run()
run
in interface java.lang.Runnable
public static void rescheduleFailedTasks()
public static void waitForDeletions()
public static void pauseDeletions(boolean stop)
Copyright © 2015 The Apache Software Foundation