Mercurial > stress-tester
changeset 1163:a3f101f9f9e8
EmitterMetric bugfix
author | Devel 2 |
---|---|
date | Tue, 16 Jun 2020 08:06:42 +0200 |
parents | 3e845cc6c1c4 |
children | 1ddc11cdcb31 |
files | stress-tester/src/main/java/com/passus/st/emitter/EmitterMetric.java |
diffstat | 1 files changed, 12 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/emitter/EmitterMetric.java Mon Jun 15 16:17:08 2020 +0200 +++ b/stress-tester/src/main/java/com/passus/st/emitter/EmitterMetric.java Tue Jun 16 08:06:42 2020 +0200 @@ -213,13 +213,23 @@ closedConnections.setValue(0); connectionsErrors.setValue(0); remoteSocketConnections.clear(); - //bindedSockets.clear(); + bindAddresses.clear(); errors.clear(); } @Override public String toString() { - return "EmitterMetric{" + "attrs=" + attrs + ", name=" + name + ", sentBytes=" + sentBytes + ", receivedBytes=" + receivedBytes + ", establishedConnections=" + establishedConnections + ", closedConnections=" + closedConnections + ", connectionsErrors=" + connectionsErrors + ", bindErrors=" + bindErrors + ", remoteSocketConnections=" + remoteSocketConnections + ", active=" + active + '}'; + return "EmitterMetric{attrs=" + attrs + ", " + + "name=" + name + ", " + + "sentBytes=" + sentBytes + ", " + + "receivedBytes=" + receivedBytes + ", " + + "establishedConnections=" + establishedConnections + ", " + + "closedConnections=" + closedConnections + ", " + + "connectionsErrors=" + connectionsErrors + ", " + + "bindErrors=" + bindErrors + ", " + + "remoteSocketConnections=" + remoteSocketConnections + "," + + "bindAddresses=" + bindAddresses + "," + + " active=" + active + '}'; } }