public static class Performance.AlluxioReadWorker extends Performance.Worker
Thread.State, Thread.UncaughtExceptionHandler
mBuf, mLeft, mRight, mWorkerId
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
AlluxioReadWorker(int id,
int left,
int right,
ByteBuffer buf,
FileSystem fs) |
Modifier and Type | Method and Description |
---|---|
void |
readPartition()
Reads a partition.
|
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, yield
public AlluxioReadWorker(int id, int left, int right, ByteBuffer buf, FileSystem fs)
id
- the id of the workerleft
- the id of the worker on the leftright
- the id of the worker on the rightbuf
- the buffer to readfs
- the filesystem client to usepublic void readPartition() throws IOException, AlluxioException
IOException
AlluxioException
Copyright © 2023. All Rights Reserved.