public static class Performance.AlluxioWriterWorker extends Performance.Worker
Thread.State, Thread.UncaughtExceptionHandler
mBuf, mLeft, mRight, mWorkerId
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
AlluxioWriterWorker(int id,
int left,
int right,
ByteBuffer buf,
FileSystem fs) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
void |
writePartition()
Writes a partition.
|
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 AlluxioWriterWorker(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 writefs
- the filesystem client to usepublic void writePartition() throws IOException, AlluxioException
IOException
AlluxioException
Copyright © 2023. All Rights Reserved.