Class Performance.AlluxioReadWorker

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    Performance

    public static class Performance.AlluxioReadWorker
    extends Performance.Worker
    A worker in Alluxio for read operations.
    • Nested Class Summary

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

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

      Constructors 
      Constructor Description
      AlluxioReadWorker​(int id, int left, int right, java.nio.ByteBuffer buf, alluxio.client.file.FileSystem fs)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void readPartition()
      Reads a partition.
      void run()  
      • 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, 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
    • Constructor Detail

      • AlluxioReadWorker

        public AlluxioReadWorker​(int id,
                                 int left,
                                 int right,
                                 java.nio.ByteBuffer buf,
                                 alluxio.client.file.FileSystem fs)
        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 to read
        fs - the filesystem client to use
    • Method Detail

      • readPartition

        public void readPartition()
                           throws java.io.IOException,
                                  alluxio.exception.AlluxioException
        Reads a partition.
        Throws:
        java.io.IOException
        alluxio.exception.AlluxioException
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
        Overrides:
        run in class java.lang.Thread