org.prevayler.demos.scalability.jdbc
Class JDBCTransactionSubject
java.lang.Object
org.prevayler.demos.scalability.jdbc.JDBCTransactionSubject
- All Implemented Interfaces:
- ScalabilityTestSubject
public class JDBCTransactionSubject
- 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
JDBCTransactionSubject
public JDBCTransactionSubject(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.