Package org.acemq.workloads.scenario
Class ScenarioReport
java.lang.Object
org.acemq.workloads.scenario.ScenarioReport
What a scenario did, node by node.
Same discipline as the single-path report: every finding carries the measurement that produced it, none of them offer advice, and a run that failed to offer its load is reported as invalid rather than as a verdict on the broker. Reporting "40,000/s: FAILED" when the generator could only produce 12,000 blames the wrong machine.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordWhat one producer managed.static final recordWhat one queue saw. -
Method Summary
-
Method Details
-
scenario
-
startedAt
-
duration
- Returns:
- how long the measured window was, which is shorter than asked for if stopped
-
producers
-
queues
-
wasStoppedEarly
public boolean wasStoppedEarly() -
blockedFor
-
blockedReason
-
findings
-
totalPublished
public long totalPublished()- Returns:
- everything published across every producer
-
totalConsumed
public long totalConsumed()- Returns:
- everything consumed across every queue
-
isValid
public boolean isValid()- Returns:
- whether anything makes this run's numbers untrustworthy
-
passed
public boolean passed()- Returns:
- whether it is valid and nothing failed
-
format
- Returns:
- the report as text, for a terminal or a log
-
toString
-