Class LiveStatistics
- java.lang.Object
-
- org.apache.activemq.artemis.cli.commands.messages.perf.LiveStatistics
-
public final class LiveStatistics extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLiveStatistics.ReportInterval
-
Constructor Summary
Constructors Constructor Description LiveStatistics(String jsonOutput, String hdrOutput, ProducerLoadGenerator[] producers, RecordingMessageListener[] listeners)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidoutAtInterval(boolean warmup, StringBuilder out, LiveStatistics.ReportInterval interval, boolean includeLatencies)voidoutSummary(StringBuilder out)voidsampleMetrics(boolean warmup)
-
-
-
Constructor Detail
-
LiveStatistics
public LiveStatistics(String jsonOutput, String hdrOutput, ProducerLoadGenerator[] producers, RecordingMessageListener[] listeners) throws IOException
- Throws:
IOException
-
-
Method Detail
-
sampleMetrics
public void sampleMetrics(boolean warmup)
-
outAtInterval
public void outAtInterval(boolean warmup, StringBuilder out, LiveStatistics.ReportInterval interval, boolean includeLatencies) throws IOException- Throws:
IOException
-
outSummary
public void outSummary(StringBuilder out) throws IOException
- Throws:
IOException
-
close
public void close() throws IOException- Throws:
IOException
-
-