public final class DiskForceBatcherThread
extends java.lang.Thread
| Modifier and Type | Method and Description |
|---|---|
void |
enqueue(TransactionLogAppender tla)
Add the TransactionLogAppender to the wait queue and wait until the disk force is done.
|
static DiskForceBatcherThread |
getInstance()
Get the single instance of the DiskForceBatcherThread.
|
void |
run() |
boolean |
setAlive(boolean alive)
Thread will run for as long as this flag is not false.
|
java.lang.String |
toString() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yieldpublic static DiskForceBatcherThread getInstance()
public boolean setAlive(boolean alive)
alive - The new flag value.public void enqueue(TransactionLogAppender tla)
tla - the TransactionLogAppenderpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic java.lang.String toString()
toString in class java.lang.ThreadCopyright © 2006-2019 Bitronix Software. All Rights Reserved.