|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.jrunit.controller.persistence.BenchmarkPersistence
org.jboss.jrunit.controller.persistence.BenchmarkDatabaseBenchmarkPersistence
Executes the database persistence for Benchmark*
Constructor Summary | |
BenchmarkDatabaseBenchmarkPersistence(java.sql.Connection conn)
|
Method Summary | |
void |
close()
|
void |
persist(Benchmark benchmark)
|
Benchmark |
readBenchmark(java.sql.ResultSet rset,
boolean readExecutions)
Reads a benchmark from any query like "SELECT ID,NAME,PARENT_ID FROM BENCH_MARK" |
java.util.Collection |
readBenchmarks(int parentId,
boolean recursiveOnSubBenchmarks)
Loads all the Benchmarks with a given parent. |
java.util.Collection |
readBenchmarks(int parentId,
boolean recursiveOnSubBenchmarks,
boolean readExecutions)
|
void |
readExecutions(Benchmark benchmark)
|
void |
readExecutions(Benchmark benchmark,
java.sql.ResultSet rset)
Reads the executions from any query like "SELECT EXECUTION_ID, EXECUTION_TS, ELAPSED_TIME , EXECUTIONS_NUMBER FROM BENCHMARK_EXECUTION WHERE BENCHMARK_ID=?" |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BenchmarkDatabaseBenchmarkPersistence(java.sql.Connection conn)
Method Detail |
public void close() throws java.sql.SQLException
close
in class BenchmarkPersistence
java.sql.SQLException
public void persist(Benchmark benchmark) throws java.sql.SQLException
persist
in class BenchmarkPersistence
java.sql.SQLException
public java.util.Collection readBenchmarks(int parentId, boolean recursiveOnSubBenchmarks) throws java.sql.SQLException
BenchmarkPersistence
readBenchmarks
in class BenchmarkPersistence
java.sql.SQLException
public java.util.Collection readBenchmarks(int parentId, boolean recursiveOnSubBenchmarks, boolean readExecutions) throws java.sql.SQLException
java.sql.SQLException
public Benchmark readBenchmark(java.sql.ResultSet rset, boolean readExecutions) throws java.sql.SQLException
java.sql.SQLException
public void readExecutions(Benchmark benchmark) throws java.sql.SQLException
java.sql.SQLException
public void readExecutions(Benchmark benchmark, java.sql.ResultSet rset) throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |