public class ConsoleReporter extends Reporter
| 限定符和类型 | 字段和说明 |
|---|---|
protected static Reporter |
CONSOLE |
failedCounts, maxTimeConsuming, minTimeConsuming, startTimestamp, successCounts, timeConsuming| 构造器和说明 |
|---|
ConsoleReporter() |
| 限定符和类型 | 方法和说明 |
|---|---|
ConsoleReporter |
datetimeFormatter(DateTimeFormatter dateTimeFormatter) |
ConsoleReporter |
frequency(Duration frequency) |
void |
reportStart(long timestamp,
Benchmark<?> benchmark) |
void |
statistics(Benchmark<?> benchmark) |
console, reportFailed, reportSuccessprotected static final Reporter CONSOLE
public ConsoleReporter datetimeFormatter(DateTimeFormatter dateTimeFormatter)
public ConsoleReporter frequency(Duration frequency)
public void reportStart(long timestamp,
Benchmark<?> benchmark)
reportStart 在类中 Reporterpublic void statistics(Benchmark<?> benchmark)
statistics 在类中 ReporterCopyright © 2022. All rights reserved.