Class AbstractMaxThroughput<T extends alluxio.stress.common.AbstractMaxThroughputSummary<P,​S>,​S extends alluxio.stress.common.GeneralBenchSummary,​P extends alluxio.stress.common.GeneralParameters>

  • Type Parameters:
    T - the MaxThroughput bench result summary
    S - the general Bench Summary with common method
    P - the stress bench parameter
    Direct Known Subclasses:
    JobServiceMaxThroughput

    public abstract class AbstractMaxThroughput<T extends alluxio.stress.common.AbstractMaxThroughputSummary<P,​S>,​S extends alluxio.stress.common.GeneralBenchSummary,​P extends alluxio.stress.common.GeneralParameters>
    extends Suite<T>
    abstract class for MaxThroughput stressBench.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static org.slf4j.Logger LOG  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected int getBestThroughput​(int initialThroughput, T summary, java.util.List<java.lang.String> baseArgs, int numWorkers)  
      protected abstract S runSingleTest​(java.util.List<java.lang.String> args)  
      • Methods inherited from class java.lang.Object

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

      • LOG

        protected static final org.slf4j.Logger LOG
    • Constructor Detail

      • AbstractMaxThroughput

        public AbstractMaxThroughput()
    • Method Detail

      • getBestThroughput

        protected int getBestThroughput​(int initialThroughput,
                                        T summary,
                                        java.util.List<java.lang.String> baseArgs,
                                        int numWorkers)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • runSingleTest

        protected abstract S runSingleTest​(java.util.List<java.lang.String> args)
                                    throws java.lang.Exception
        Parameters:
        args - the args
        Returns:
        the results
        Throws:
        java.lang.Exception