public interface ServiceComponent
String getName()
boolean isRecoveryEnabled()
void setRecoveryEnabled(boolean recoveryEnabled)
recoveryEnabled
- - true or falseString getServiceName()
String getDisplayName()
long getClusterId()
String getClusterName()
State getDesiredState()
void setDesiredState(State state)
RepositoryVersionEntity getDesiredRepositoryVersion()
StackId getDesiredStackId()
String getDesiredVersion()
void setDesiredRepositoryVersion(RepositoryVersionEntity repositoryVersionEntity)
void updateComponentInfo() throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariException
Map<String,ServiceComponentHost> getServiceComponentHosts()
ServiceComponentHost getServiceComponentHost(String hostname) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariException
void addServiceComponentHosts(Map<String,ServiceComponentHost> hostComponents) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariException
void addServiceComponentHost(ServiceComponentHost hostComponent) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariException
ServiceComponentResponse convertToResponse()
void debugDump(StringBuilder sb)
boolean isClientComponent()
boolean isMasterComponent()
boolean isVersionAdvertised()
boolean canBeRemoved()
void deleteAllServiceComponentHosts(DeleteHostComponentStatusMetaData deleteMetaData) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariException
void deleteServiceComponentHosts(String hostname, DeleteHostComponentStatusMetaData deleteMetaData) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariException
ServiceComponentHost addServiceComponentHost(String hostName) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariException
void delete(DeleteHostComponentStatusMetaData deleteMetaData)
void updateRepositoryState(String reportedVersion) throws org.apache.ambari.server.AmbariException
reportedVersion
- org.apache.ambari.server.AmbariException
RepositoryVersionState getRepositoryState()
Copyright © 2022 Apache Software Foundation. All rights reserved.