mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-22 23:23:56 -06:00
formatting
This commit is contained in:
parent
16e3e587aa
commit
aad06bed09
@ -56,13 +56,6 @@ public class NBSession extends NBBaseComponent implements Function<List<Cmd>, Ex
|
||||
ERROR
|
||||
}
|
||||
|
||||
private NBBufferedContainer getContext(String name) {
|
||||
return containers.computeIfAbsent(
|
||||
name,
|
||||
n -> NBContainer.builder().name(n).build(this)
|
||||
);
|
||||
}
|
||||
|
||||
public NBSession(
|
||||
NBLabeledElement labelContext,
|
||||
String sessionName
|
||||
@ -206,5 +199,12 @@ public class NBSession extends NBBaseComponent implements Function<List<Cmd>, Ex
|
||||
clientMetricChecker.addRatioMetricToCheck(cpuUserGauge, cpuTotalGauge, 50.0, true);
|
||||
}
|
||||
|
||||
private NBBufferedContainer getContext(String name) {
|
||||
return containers.computeIfAbsent(
|
||||
name,
|
||||
n -> NBContainer.builder().name(n).build(this)
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
@ -233,13 +233,17 @@ public class ConsoleReporter extends PeriodicTaskComponent {
|
||||
for (NBMetric metric : summaryMetrics) {
|
||||
if (metric instanceof NBMetricGauge) {
|
||||
gauges.add((NBMetricGauge) metric);
|
||||
} if (metric instanceof NBMetricCounter) {
|
||||
}
|
||||
if (metric instanceof NBMetricCounter) {
|
||||
counters.add((NBMetricCounter) metric);
|
||||
} if (metric instanceof NBMetricHistogram) {
|
||||
}
|
||||
if (metric instanceof NBMetricHistogram) {
|
||||
histograms.add((NBMetricHistogram) metric);
|
||||
} if (metric instanceof NBMetricMeter) {
|
||||
}
|
||||
if (metric instanceof NBMetricMeter) {
|
||||
meters.add((NBMetricMeter) metric);
|
||||
} if (metric instanceof NBMetricTimer) {
|
||||
}
|
||||
if (metric instanceof NBMetricTimer) {
|
||||
timers.add((NBMetricTimer) metric);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user