public class MultiThreadedWriter.HBaseWriterThread extends Thread
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
HBaseWriterThread(int writerId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeHTable() |
protected HTableInterface |
createTable() |
void |
insert(Table table,
Put put,
long keyBase) |
void |
run() |
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, yieldpublic HBaseWriterThread(int writerId)
throws IOException
IOExceptionprotected HTableInterface createTable() throws IOException
IOExceptionprotected void closeHTable()