public interface ServiceComponentHost
long getClusterId()
String getClusterName()
String getServiceName()
String getServiceComponentName()
String getHostName()
void handleEvent(ServiceComponentHostEvent event) throws InvalidStateTransitionException
event
- Event to handleInvalidStateTransitionException
State getDesiredState()
void setDesiredState(State state)
StackId getDesiredStackVersion()
void setDesiredStackVersion(StackId stackVersion)
State getState()
void setState(State state)
StackId getStackVersion()
void setStackVersion(StackId stackVersion)
HostComponentAdminState getComponentAdminState()
void setComponentAdminState(HostComponentAdminState attribute)
ServiceComponentHostResponse convertToResponse()
boolean isPersisted()
void persist()
void refresh()
void debugDump(StringBuilder sb)
boolean canBeRemoved()
void delete() throws AmbariException
AmbariException
void updateActualConfigs(Map<String,Map<String,String>> configTags)
configTags
- Map<String,HostConfig> getActualConfigs()
HostState getHostState()
void setMaintenanceState(MaintenanceState state)
state
- the maintenance stateMaintenanceState getMaintenanceState()
Copyright © 2016. All rights reserved.