Package alluxio.stress.cli.suite
Class AbstractMaxThroughput<T extends alluxio.stress.common.AbstractMaxThroughputSummary<P,S>,S extends alluxio.stress.common.GeneralBenchSummary,P extends alluxio.stress.common.GeneralParameters>
- java.lang.Object
-
- alluxio.stress.cli.suite.Suite<T>
-
- alluxio.stress.cli.suite.AbstractMaxThroughput<T,S,P>
-
- Type Parameters:
T- the MaxThroughput bench result summaryS- the general Bench Summary with common methodP- 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.LoggerLOG-
Fields inherited from class alluxio.stress.cli.suite.Suite
mBaseParameters
-
-
Constructor Summary
Constructors Constructor Description AbstractMaxThroughput()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected intgetBestThroughput(int initialThroughput, T summary, java.util.List<java.lang.String> baseArgs, int numWorkers)protected abstract SrunSingleTest(java.util.List<java.lang.String> args)-
Methods inherited from class alluxio.stress.cli.suite.Suite
mainInternal, runSuite
-
-
-
-
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
-
-