public interface Client
LoadGenerator repeatedly invokes this
operation in order to get the desired distribution.| Modifier and Type | Method and Description |
|---|---|
void |
doWork()
Perform the work for a single iteration of the test (typically a single
transaction).
|
void |
init(java.sql.Connection c)
Initialize this client (typically prepare the statements needed in the
doWork() method). |
void |
printReport(java.io.PrintStream out)
Print a report from the test run.
|
void init(java.sql.Connection c) throws java.sql.SQLException
doWork() method).c - a connection which can be used by this clientjava.sql.SQLException - if a database error occursvoid doWork()
throws java.sql.SQLException
java.sql.SQLException - if a database error occursvoid printReport(java.io.PrintStream out)
out - stream to print the report toApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.