Package com.yahoo.ycsb.rmi

Examples of com.yahoo.ycsb.rmi.SlaveRMIInterface.shutdown()


   
    while (itr.hasNext()) {
      String key = itr.next();
      try {
        SlaveRMIInterface loadgen = (SlaveRMIInterface) rmiClients.get(key).lookup(SlaveClient.REGISTRY_NAME);
        loadgen.shutdown();
      } catch (NotBoundException e) {
        LOG.error("Could not run test with " + key + " because slave was not bound");
      }catch (RemoteException e) {
        LOG.error("Could not run test with " + key + " because slave is not running");
      }
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.