Package com.vmware.bdd.apitypes

Examples of com.vmware.bdd.apitypes.ResourceScale


                        Constants.OUTPUT_OP_RESIZE,
                        Constants.OUTPUT_OP_RESULT_FAIL,
                        "Cluster must be in 'RUNNING' state to scale up/down");
                  return;
               }
               ResourceScale resScale =
                     new ResourceScale(name, nodeGroup, cpuNumber, memory);
               taskRead = restClient.scale(resScale);
            }
            CommandsUtils.printCmdSuccess(Constants.OUTPUT_OBJECT_CLUSTER,
                  name, Constants.OUTPUT_OP_RESULT_RESIZE);
            if (taskRead != null) {
View Full Code Here


   //@Test
   public void buildJobParameters() {
      ApplicationContext context =
            new ClassPathXmlApplicationContext("spring/*.xml");
      scaleMgr = context.getBean("scaleManager", ScaleManager.class);
      ResourceScale scale = new ResourceScale("apache2", "worker", 3, 4000);
      scaleMgr.buildJobParameters(scale);
   }
View Full Code Here

TOP

Related Classes of com.vmware.bdd.apitypes.ResourceScale

Copyright © 2018 www.massapicom. 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.