Modifier and Type | Method and Description |
---|---|
RequestStageContainer |
AmbariManagementControllerImpl.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients) |
RequestStageContainer |
AmbariManagementControllerImpl.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients) |
RequestStageContainer |
AmbariManagementControllerImpl.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients) |
RequestStageContainer |
AmbariManagementController.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients)
Add stages to the request.
|
RequestStageContainer |
AmbariManagementController.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients)
Add stages to the request.
|
RequestStageContainer |
AmbariManagementController.addStages(RequestStageContainer requestStages,
Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients)
Add stages to the request.
|
RequestStatusResponse |
AmbariManagementControllerImpl.createAndPersistStages(Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients) |
RequestStatusResponse |
AmbariManagementControllerImpl.createAndPersistStages(Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients) |
RequestStatusResponse |
AmbariManagementControllerImpl.createAndPersistStages(Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients) |
RequestStatusResponse |
AmbariManagementController.createAndPersistStages(Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients)
Create and persist the request stages and return a response containing the
associated request and resulting tasks.
|
RequestStatusResponse |
AmbariManagementController.createAndPersistStages(Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients)
Create and persist the request stages and return a response containing the
associated request and resulting tasks.
|
RequestStatusResponse |
AmbariManagementController.createAndPersistStages(Cluster cluster,
Map<String,String> requestProperties,
Map<String,String> requestParameters,
Map<State,List<Service>> changedServices,
Map<State,List<ServiceComponent>> changedComponents,
Map<String,Map<State,List<ServiceComponentHost>>> changedHosts,
Collection<ServiceComponentHost> ignoredHosts,
boolean runSmokeTest,
boolean reconfigureClients)
Create and persist the request stages and return a response containing the
associated request and resulting tasks.
|
Modifier and Type | Method and Description |
---|---|
State |
RequestStageContainer.getProjectedState(String host,
String component)
Determine the projected state for a host component from the existing stages.
|
State |
ServiceResourceProvider.ServiceState.getState(AmbariManagementController controller,
String clusterName,
String serviceName) |
State |
ServiceResourceProvider.DefaultServiceState.getState(AmbariManagementController controller,
String clusterName,
String serviceName) |
State |
ServiceResourceProvider.HDFSServiceState.getState(AmbariManagementController controller,
String clusterName,
String serviceName) |
State |
ServiceResourceProvider.HBaseServiceState.getState(AmbariManagementController controller,
String clusterName,
String serviceName) |
Modifier and Type | Method and Description |
---|---|
State |
HostComponentStateEntity.getCurrentState() |
State |
HostComponentDesiredStateEntity.getDesiredState() |
State |
ServiceDesiredStateEntity.getDesiredState() |
State |
ServiceComponentDesiredStateEntity.getDesiredState() |
Modifier and Type | Method and Description |
---|---|
void |
HostComponentStateEntity.setCurrentState(State currentState) |
void |
HostComponentDesiredStateEntity.setDesiredState(State desiredState) |
void |
ServiceDesiredStateEntity.setDesiredState(State desiredState) |
void |
ServiceComponentDesiredStateEntity.setDesiredState(State desiredState) |
Modifier and Type | Method and Description |
---|---|
State |
ServiceComponent.getDesiredState() |
State |
ServiceImpl.getDesiredState() |
State |
Service.getDesiredState() |
State |
ServiceComponentHost.getDesiredState() |
State |
ServiceComponentImpl.getDesiredState() |
State |
ServiceComponentHost.getState() |
static State |
State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static State[] |
State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
State.checkUpdateConfiguration(ServiceComponentHost serviceComponentHost,
State currentState,
State desiredState)
Determine whether or not it is safe to update the configuration of the given service
component host for the given states.
|
static boolean |
State.isValidDesiredStateTransition(State startState,
State desiredState)
Utility method to determine whether or not the given desired state is valid for the given starting state.
|
static boolean |
State.isValidStateTransition(State startState,
State desiredState)
Utility method to determine whether or not a valid transition can be made from the given states.
|
void |
ServiceComponent.setDesiredState(State state) |
void |
ServiceImpl.setDesiredState(State state) |
void |
Service.setDesiredState(State state) |
void |
ServiceComponentHost.setDesiredState(State state) |
void |
ServiceComponentImpl.setDesiredState(State state) |
void |
ServiceComponentHost.setState(State state) |
Modifier and Type | Method and Description |
---|---|
State |
ServiceComponentHostImpl.getDesiredState() |
State |
ServiceComponentHostImpl.getState() |
Modifier and Type | Method and Description |
---|---|
void |
ServiceComponentHostImpl.setDesiredState(State state) |
void |
ServiceComponentHostImpl.setState(State state) |
Copyright © 2015. All rights reserved.