public interface LoadGenerator
doWork()
methods.
Different load generators may generate load with different characteristics.
The actual database operations performed are decided by the clients passed
in to the load generator's init()
method.Modifier and Type | Method and Description |
---|---|
void |
init(Client[] clients)
Initialize the load generator.
|
void |
printReport(java.io.PrintStream out)
Print a report from the test run.
|
void |
startSteadyState()
Move from the warmup phase to the steady-state phase.
|
void |
startWarmup()
Start the warmup phase.
|
void |
stop()
Stop the load generator.
|
void init(Client[] clients)
clients
- tells the load generator which clients it should use
to generate load withvoid startWarmup()
void startSteadyState()
void stop()
void printReport(java.io.PrintStream out)
out
- stream to print the report toApache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.