Method Summary |
|
protected void | clearTable() |
protected PerformanceArticle | createArticle(int id) factory method that createa an PerformanceArticle with a given id. |
abstract protected void | deleteArticles() deletes all PerformanceArticle created by insertNewArticles . |
protected Connection | getConnection() obtain a JDBC Connection. |
abstract protected void | insertNewArticles() create new PerformanceArticle objects and insert them into the RDBMS. |
abstract protected void | readArticles() read in all the PerformanceArticles from the RDBMS that have
been inserted by insertNewArticles() . |
abstract protected void | readArticlesByCursor() read in all the PerformanceArticles from the RDBMS that have
been inserted by insertNewArticles() . |
protected void | returnConnection(Connection conn) |
public void | setNameOfTest(String nameOfTest) Set the name of the test. |
public void | setUp() setting up the test fixture. |
public void | shutdown() |
public void | tearDown() tearing down the test fixture. |
public void | testBenchmark() This method is the driver for the complete Benchmark.
It performs the following steps:
1.) n objects are created and inserted to the RDBMS.
2.) the created objects are modified. |
abstract protected void | updateExistingArticles() updates all PerformanceArticles inserted by insertNewArticles() . |