public static class WALSplitter.WriterThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private WALSplitter.PipelineController |
controller |
private WALSplitter.EntryBuffers |
entryBuffers |
private WALSplitter.OutputSink |
outputSink |
private boolean |
shouldStop |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
WALSplitter.WriterThread(WALSplitter.PipelineController controller,
WALSplitter.EntryBuffers entryBuffers,
WALSplitter.OutputSink sink,
int i) |
Modifier and Type | Method and Description |
---|---|
private void |
doRun() |
(package private) void |
finish() |
void |
run() |
private void |
writeBuffer(WALSplitter.RegionEntryBuffer buffer) |
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, toString, yield
private volatile boolean shouldStop
private WALSplitter.PipelineController controller
private WALSplitter.EntryBuffers entryBuffers
private WALSplitter.OutputSink outputSink
WALSplitter.WriterThread(WALSplitter.PipelineController controller, WALSplitter.EntryBuffers entryBuffers, WALSplitter.OutputSink sink, int i)
private void doRun() throws IOException
IOException
private void writeBuffer(WALSplitter.RegionEntryBuffer buffer) throws IOException
IOException
void finish()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.