Package test.r2.perf.client

Examples of test.r2.perf.client.PerfClient.run()


    final int numThreads = PerfConfig.getNumClientThreads();
    final int numMsgs = PerfConfig.getNumMessages();
    final int msgSize = PerfConfig.getMessageSize();

    final PerfClient client = PerfClients.httpRpc(uri, numThreads, numMsgs, msgSize);
    client.run();
    client.shutdown();
  }
}
View Full Code Here


    final int numThreads = PerfConfig.getNumClientThreads();
    final int numMsgs = PerfConfig.getNumMessages();
    final int msgSize = PerfConfig.getMessageSize();

    final PerfClient client = PerfClients.httpRest(uri, numThreads, numMsgs, msgSize);
    client.run();
    client.shutdown();
  }
}
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.