public abstract static class Performance.Worker extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected ByteBuffer |
mBuf |
protected int |
mLeft |
protected int |
mRight |
protected int |
mWorkerId |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
Worker(int id,
int left,
int right,
ByteBuffer buf) |
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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
protected int mWorkerId
protected int mLeft
protected int mRight
protected ByteBuffer mBuf
public Worker(int id, int left, int right, ByteBuffer buf)
id
- the id of the workerleft
- the id of the worker on the leftright
- the id of the worker on the rightbuf
- the buffer used by the workerCopyright © 2023. All Rights Reserved.