com.cloudera.api.model
Class ApiRestartClusterArgs

java.lang.Object
  extended by com.cloudera.api.model.ApiRestartClusterArgs

public class ApiRestartClusterArgs
extends Object

Arguments used for Cluster Restart command. Since V11: If both restartOnlyStaleServices and restartServiceNames are specified, a service must be specified in restartServiceNames and also be stale, in order to be restarted.


Constructor Summary
ApiRestartClusterArgs()
           
 
Method Summary
 boolean equals(Object o)
           
 Boolean getRedeployClientConfiguration()
          Re-deploy client configuration for all services in the cluster.
 Boolean getRestartOnlyStaleServices()
          Only restart services that have stale configuration and their dependent services.
 List<String> getRestartServiceNames()
          Only restart services that are specified and their dependent services.
 int hashCode()
           
 void setRedeployClientConfiguration(Boolean redeployClientConfiguration)
           
 void setRestartOnlyStaleServices(Boolean restartOnlyStaleServices)
           
 void setRestartServiceNames(List<String> restartServiceNames)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiRestartClusterArgs

public ApiRestartClusterArgs()
Method Detail

getRestartOnlyStaleServices

public Boolean getRestartOnlyStaleServices()
Only restart services that have stale configuration and their dependent services.


setRestartOnlyStaleServices

public void setRestartOnlyStaleServices(Boolean restartOnlyStaleServices)

getRedeployClientConfiguration

public Boolean getRedeployClientConfiguration()
Re-deploy client configuration for all services in the cluster.


setRedeployClientConfiguration

public void setRedeployClientConfiguration(Boolean redeployClientConfiguration)

getRestartServiceNames

public List<String> getRestartServiceNames()
Only restart services that are specified and their dependent services. Available since V11.


setRestartServiceNames

public void setRestartServiceNames(List<String> restartServiceNames)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.