Examples of GetNodePerformanceResult


Examples of de.zib.scalaris.Monitor.GetNodePerformanceResult

     */
    @Test
    public final void testGetNodePerformance1() throws ConnectionException {
        final Monitor conn = new Monitor(scalarisNode);
        try {
            final GetNodePerformanceResult nodePerformance = conn.getNodePerformance();
            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.