public class TransactionLogs extends Transactional.AbstractTransactional implements Transactional
| Modifier and Type | Class and Description |
|---|---|
static class |
TransactionLogs.SSTableTidier
The SSTableReader tidier.
|
Transactional.AbstractTransactional.StateTransactional.AbstractTransactional| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Throwable |
doAbort(java.lang.Throwable accumulate) |
protected java.lang.Throwable |
doCommit(java.lang.Throwable accumulate) |
protected void |
doPrepare()
Do any preparatory work prior to commit.
|
static void |
pauseDeletions(boolean stop) |
static void |
rescheduleFailedDeletions()
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.
|
static void |
waitForDeletions()
Deletions run on the nonPeriodicTasks executor, (both failedDeletions or global tidiers in SSTableReader)
so by scheduling a new empty task and waiting for it we ensure any prior deletion has completed.
|
abort, abort, close, commit, commit, doPostCleanup, doPreCleanup, finish, permitRedundantTransitions, prepareToCommit, stateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabort, commit, prepareToCommitpublic static void rescheduleFailedDeletions()
public static void waitForDeletions()
public static void pauseDeletions(boolean stop)
protected java.lang.Throwable doCommit(java.lang.Throwable accumulate)
doCommit in class Transactional.AbstractTransactionalprotected java.lang.Throwable doAbort(java.lang.Throwable accumulate)
doAbort in class Transactional.AbstractTransactionalprotected void doPrepare()
Transactional.AbstractTransactionaldoPrepare in class Transactional.AbstractTransactionalCopyright © 2015 The Apache Software Foundation