Package io.datarouter.loadtest.util
Class LoadTestTool
java.lang.Object
io.datarouter.loadtest.util.LoadTestTool
public class LoadTestTool extends Object
-
Constructor Summary
Constructors Constructor Description LoadTestTool() -
Method Summary
Modifier and Type Method Description static intadjustedBatchSize(int totalRows, int targetBatchSize, int batchId)static List<Integer>makePredictableIdBatch(int totalRows, int targetBatchSize, int batchId)static List<Integer>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)
-