public static class Performance.HdfsWorker extends Performance.Worker
mBuf, mLeft, mRight, mWorkerId| Constructor and Description |
|---|
HdfsWorker(int id,
int left,
int right,
java.nio.ByteBuffer buf,
boolean write,
java.lang.String msg) |
| Modifier and Type | Method and Description |
|---|---|
void |
io()
Creates IO utilization.
|
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 HdfsWorker(int id,
int left,
int right,
java.nio.ByteBuffer buf,
boolean write,
java.lang.String msg)
throws java.io.IOException
id - the id of the workerleft - the id of the worker on the leftright - the id of the worker on the rightbuf - the bufferwrite - indicates if data is written to HDFSmsg - the message to writejava.io.IOExceptionCopyright © 2019. All Rights Reserved.