Package io.datarouter.loadtest.util
Class LoadTestTool
java.lang.Object
io.datarouter.loadtest.util.LoadTestTool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intadjustedBatchSize(int totalRows, int targetBatchSize, int batchId) makePredictableIdBatch(int totalRows, int targetBatchSize, int batchId) makeRandomIdBatch(int totalRows, int maxId, int targetBatchSize, int batchId) static intnumBatches(int totalRows, int targetBatchSize)
-
Constructor Details
-
LoadTestTool
public LoadTestTool()
-
-
Method Details
-
makeRandomIdBatch
-
makePredictableIdBatch
-
adjustedBatchSize
public static int adjustedBatchSize(int totalRows, int targetBatchSize, int batchId) -
numBatches
public static int numBatches(int totalRows, int targetBatchSize)
-