Examples of GetServicePerformanceResult


Examples of de.zib.scalaris.Monitor.GetServicePerformanceResult

     */
    @Test
    public final void testGetServicePerformance1() throws ConnectionException {
        final Monitor conn = new Monitor(scalarisNode);
        try {
            final GetServicePerformanceResult nodePerformance = conn.getServicePerformance();
            for (final Entry<Long, Double> latencyAvg : nodePerformance.latencyAvg.entrySet()) {
                assertTrue(latencyAvg.toString(), latencyAvg.getKey() >= 0);
                assertTrue(latencyAvg.toString(), latencyAvg.getValue() >= 0);
            }
            for (final Entry<Long, Double> latencyStddev : nodePerformance.latencyStddev.entrySet()) {
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.