Package com.vmware.bdd.command

Examples of com.vmware.bdd.command.VHMMessageTask


      sendParam.put(Constants.SET_MANUAL_ELASTICITY_INFO_ACTION,
            LimitInstruction.actionWaitForManual);

      Map<String, Object> ret = null;
      try {
         ret = executionService.execute(new VHMMessageTask(sendParam, null));
         if (!(Boolean) ret.get("succeed")) {
            String errorMessage = (String) ret.get("errorMessage");
            throw TaskException.EXECUTION_FAILED(errorMessage);
         }
      } catch (Exception e) {
View Full Code Here


      sendParam.put(Constants.SET_MANUAL_ELASTICITY_INFO_CLUSTER_NAME, clusterName);
      sendParam.put(Constants.SET_MANUAL_ELASTICITY_INFO_INSTANCE_NUM, activeComputeNodeNum);
      sendParam.put(Constants.SET_MANUAL_ELASTICITY_INFO_RECEIVE_ROUTE_KEY, CommonUtil.getUUID());
      sendParam.put(Constants.SET_MANUAL_ELASTICITY_INFO_ACTION, vhmAction);

      Map<String, Object> ret = executionService.execute(new VHMMessageTask(sendParam,
            listener));

      if (!(Boolean) ret.get("succeed")) {
         String errorMessage = (String) ret.get("errorMessage");
         putIntoJobExecutionContext(chunkContext, JobConstants.CURRENT_ERROR_MESSAGE,
View Full Code Here

TOP

Related Classes of com.vmware.bdd.command.VHMMessageTask

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.