Class Performance.AlluxioWriterWorker

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

    public static class Performance.AlluxioWriterWorker
    extends Performance.Worker
    A worker in Alluxio for write 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
      AlluxioWriterWorker​(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 run()  
      void writePartition()
      Writes a partition.
      • 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

      • AlluxioWriterWorker

        public AlluxioWriterWorker​(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 write
        fs - the filesystem client to use
    • Method Detail

      • writePartition

        public void writePartition()
                            throws java.io.IOException,
                                   alluxio.exception.AlluxioException
        Writes 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