Class Performance.Worker

    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.nio.ByteBuffer mBuf  
      protected int mLeft  
      protected int mRight  
      protected int mWorkerId  
      • Fields inherited from class java.lang.Thread

        MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
    • Constructor Summary

      Constructors 
      Constructor Description
      Worker​(int id, int left, int right, java.nio.ByteBuffer buf)  
    • Method Summary

      • Methods inherited from class java.lang.Thread

        activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • mWorkerId

        protected int mWorkerId
      • mLeft

        protected int mLeft
      • mRight

        protected int mRight
      • mBuf

        protected java.nio.ByteBuffer mBuf
    • Constructor Detail

      • Worker

        public Worker​(int id,
                      int left,
                      int right,
                      java.nio.ByteBuffer buf)
        Parameters:
        id - the id of the worker
        left - the id of the worker on the left
        right - the id of the worker on the right
        buf - the buffer used by the worker