|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.benchy.repository.FileBasedBenchmarkResultRepository
public class FileBasedBenchmarkResultRepository
A BenchmarkResultRepository that persist on file system.
| Constructor Summary | |
|---|---|
FileBasedBenchmarkResultRepository()
Creates a FileBasedBenchmarkResultRepository that stores all benchmark results in the temp directory. |
|
FileBasedBenchmarkResultRepository(File rootDir)
|
|
FileBasedBenchmarkResultRepository(String rootDir)
|
|
| Method Summary | |
|---|---|
BenchmarkResult |
load(Date date,
String benchmarkName)
Loads all the testresults for a specific benchmark executed on a specific date. |
BenchmarkResult |
loadLast(Date date,
String benchmarkName)
|
BenchmarkResult |
loadLast(String benchmark)
|
void |
store(BenchmarkResult benchmarkResult)
Stores the BenchmarkResult in the repository. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileBasedBenchmarkResultRepository()
public FileBasedBenchmarkResultRepository(String rootDir)
public FileBasedBenchmarkResultRepository(File rootDir)
| Method Detail |
|---|
public BenchmarkResult loadLast(Date date,
String benchmarkName)
loadLast in interface BenchmarkResultRepositorypublic BenchmarkResult loadLast(String benchmark)
loadLast in interface BenchmarkResultRepository
public BenchmarkResult load(Date date,
String benchmarkName)
BenchmarkResultRepository
load in interface BenchmarkResultRepositorydate - the data the benchmark was executedbenchmarkName - the name of the benchmark.
public void store(BenchmarkResult benchmarkResult)
BenchmarkResultRepository
store in interface BenchmarkResultRepositorybenchmarkResult - the TestResult to store.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||