Examples of SeriesStatistics


Examples of org.apache.qpid.disttest.results.aggregation.SeriesStatistics

        consumerParticipantResult.setNoLocal(command.isNoLocal());
        consumerParticipantResult.setSynchronousConsumer(command.isSynchronous());
        consumerParticipantResult.setTotalNumberOfConsumers(1);
        consumerParticipantResult.setTotalNumberOfProducers(0);

        SeriesStatistics statistics = new SeriesStatistics(messageLatencies);
        consumerParticipantResult.setAverageLatency(statistics.getAverage());
        consumerParticipantResult.setMinLatency(statistics.getMinimum());
        consumerParticipantResult.setMaxLatency(statistics.getMaximum());
        consumerParticipantResult.setLatencyStandardDeviation(statistics.getStandardDeviation());
        return consumerParticipantResult;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.