public class Benchmark extends Sample
| Constructor and Description |
|---|
Benchmark() |
Benchmark(String name,
int subCnt,
int pubCnt) |
Benchmark(String name,
String runId,
int subCnt,
int pubCnt)
Initializes a Benchmark.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPubSample(Sample sample) |
void |
addSubSample(Sample sample) |
void |
close()
Closes this benchmark and calculates totals and times.
|
List<String> |
csv()
Returns a list of text lines for output to a CSV file.
|
String |
report()
Creates the output report.
|
public Benchmark()
public Benchmark(String name, int subCnt, int pubCnt)
public Benchmark(String name, String runId, int subCnt, int pubCnt)
name - a descriptive name for this test runrunId - a unique id for this test run (typically a guid)subCnt - the number of subscriberspubCnt - the number of publishersCopyright © 2015-2016 Apcera, Inc.. All Rights Reserved.