Package org.apache.hadoop.hbase.wal
Class OutputSink.WriterThread
java.lang.Object
java.lang.Thread
org.apache.hadoop.hbase.wal.OutputSink.WriterThread
- All Implemented Interfaces:
Runnable
- Enclosing class:
- OutputSink
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Modifier and TypeFieldDescriptionprivate WALSplitter.PipelineController
private EntryBuffers
private OutputSink
private boolean
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ConstructorDescriptionWriterThread
(WALSplitter.PipelineController controller, EntryBuffers entryBuffers, OutputSink sink, int i) WriterThread
(WALSplitter.PipelineController controller, EntryBuffers entryBuffers, OutputSink sink, String threadName) -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
shouldStop
-
controller
-
entryBuffers
-
outputSink
-
-
Constructor Details
-
WriterThread
WriterThread(WALSplitter.PipelineController controller, EntryBuffers entryBuffers, OutputSink sink, int i) -
WriterThread
WriterThread(WALSplitter.PipelineController controller, EntryBuffers entryBuffers, OutputSink sink, String threadName)
-
-
Method Details
-
run
-
doRun
- Throws:
IOException
-
writeBuffer
- Throws:
IOException
-
finish
-