Package gorsat

Class ReaderThread

  • All Implemented Interfaces:
    java.lang.Runnable

    public class ReaderThread
    extends java.lang.Thread
    • Method Detail

      • getAvgRowsPerMilliSecond

        public double getAvgRowsPerMilliSecond()
      • getAvgBasesPerMilliSecond

        public double getAvgBasesPerMilliSecond()
      • getAvgBatchSize

        public double getAvgBatchSize()
      • getAvgSeekTimeMilliSecond

        public double getAvgSeekTimeMilliSecond()
      • setAvgSeekTimeMilliSecond

        public void setAvgSeekTimeMilliSecond​(double avgSeekTimeMilliSecond)
      • stopProcessing

        public void stopProcessing​(java.lang.String message)
      • finish

        public void finish()
      • run

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

        public boolean offer​(RowBuffer rowBuffer)
      • offerBatch

        public void offerBatch​(RowBuffer current)
                        throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • pollBatch

        public RowBuffer pollBatch()
                            throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException