org.prevayler.demos.scalability.jdbc
Class JDBCQuerySubject
java.lang.Object
org.prevayler.demos.scalability.jdbc.JDBCQuerySubject
- All Implemented Interfaces:
- ScalabilityTestSubject
public class JDBCQuerySubject
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connectionURL
protected final String connectionURL
user
protected final String user
password
protected final String password
JDBCQuerySubject
public JDBCQuerySubject(String jdbcDriverClassName,
String connectionURL,
String user,
String password)
createTestConnection
public Object createTestConnection()
name
public String name()
- Specified by:
name
in interface ScalabilityTestSubject
replaceAllRecords
public void replaceAllRecords(int records)
- Specified by:
replaceAllRecords
in interface ScalabilityTestSubject
createConnection
protected Connection createConnection()
reportResourcesUsed
public void reportResourcesUsed(PrintStream out)
- Specified by:
reportResourcesUsed
in interface ScalabilityTestSubject
Copyright © 2001-2013. All Rights Reserved.