Package org.springframework.yarn.boot.actuate.endpoint.mvc.ContainerClusterModifyRequest

Examples of org.springframework.yarn.boot.actuate.endpoint.mvc.ContainerClusterModifyRequest.ModifyAction


   * @return the container cluster status response
   */
  @RequestMapping(value = "/{clusterId}", method = RequestMethod.PUT)
  public HttpEntity<Void> modifyCluster(@PathVariable("clusterId") String clusterId,
      @RequestBody ContainerClusterModifyRequest request) {
    ModifyAction action = ContainerClusterModifyRequest.getModifyAction(request.getAction());
    if (action == null) {
      throw new NoSuchActionException("Action " + request.getAction() + " not supported");
    }
    getClusterMayThrow(clusterId);
    if (ModifyAction.START.equals(action)) {
View Full Code Here

TOP

Related Classes of org.springframework.yarn.boot.actuate.endpoint.mvc.ContainerClusterModifyRequest.ModifyAction

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.