Package io.datarouter.loadtest.storage
Class DatarouterLoadTestScanDao
java.lang.Object
io.datarouter.storage.dao.BaseDao
io.datarouter.loadtest.storage.DatarouterLoadTestScanDao
- All Implemented Interfaces:
LoadTestScanDao,io.datarouter.storage.dao.Dao
@Singleton public class DatarouterLoadTestScanDao extends io.datarouter.storage.dao.BaseDao implements LoadTestScanDao
The node needs to be of a SortedStorageReader type, and the client needs to support that type.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDatarouterLoadTestScanDao.DatarouterLoadTestScanDaoParamsNested classes/interfaces inherited from interface io.datarouter.loadtest.service.LoadTestScanDao
LoadTestScanDao.NoOpLoadTestScanDao -
Constructor Summary
Constructors Constructor Description DatarouterLoadTestScanDao(io.datarouter.storage.Datarouter datarouter, io.datarouter.storage.node.factory.NodeFactory nodeFactory, DatarouterLoadTestScanDao.DatarouterLoadTestScanDaoParams params) -
Method Summary
Modifier and Type Method Description io.datarouter.scanner.Scanner<RandomValue>scan(int batchSize, int limit)
-
Constructor Details
-
DatarouterLoadTestScanDao
@Inject public DatarouterLoadTestScanDao(io.datarouter.storage.Datarouter datarouter, io.datarouter.storage.node.factory.NodeFactory nodeFactory, DatarouterLoadTestScanDao.DatarouterLoadTestScanDaoParams params)
-
-
Method Details
-
scan
- Specified by:
scanin interfaceLoadTestScanDao
-