Class QueryLoadTestModel
java.lang.Object
is.codion.swing.common.model.tools.loadtest.QueryLoadTestModel
A load test implementation for testing database queries.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A class used internallystatic class
A usage scenario based on an SQL query. -
Constructor Summary
ConstructorsConstructorDescriptionQueryLoadTestModel
(Database database, User user, Collection<? extends QueryLoadTestModel.QueryScenario> scenarios) Instantiates a new QueryLoadTest. -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
QueryLoadTestModel
public QueryLoadTestModel(Database database, User user, Collection<? extends QueryLoadTestModel.QueryScenario> scenarios) throws DatabaseException Instantiates a new QueryLoadTest.- Parameters:
database
- the databaseuser
- the userscenarios
- the query scenarios- Throws:
DatabaseException
- in case of an exception while constructing the initial connections
-
-
Method Details
-
loadTestModel
-
connectionPool
- Returns:
- the underlying connection pool
-