public class HostLevelParamsHolder extends AgentHostDataHolder<HostLevelParamsUpdateEvent>
LOGupdateLock| Constructor and Description |
|---|
HostLevelParamsHolder(AmbariEventPublisher ambariEventPublisher) |
| Modifier and Type | Method and Description |
|---|---|
HostLevelParamsUpdateEvent |
getCurrentData(Long hostId) |
HostLevelParamsUpdateEvent |
getCurrentDataExcludeCluster(Long hostId,
Long clusterId) |
protected HostLevelParamsUpdateEvent |
getEmptyData() |
protected HostLevelParamsUpdateEvent |
handleUpdate(HostLevelParamsUpdateEvent current,
HostLevelParamsUpdateEvent update) |
void |
onClusterComponentsRepoUpdate(ClusterComponentsRepoChangedEvent clusterComponentsRepoChangedEvent) |
void |
onMaintenanceModeChanged(MaintenanceModeEvent event) |
void |
onServiceComponentRecoveryChanged(ServiceComponentRecoveryChangedEvent event) |
void |
updateAllHosts() |
getData, getData, getUpdateIfChanged, initializeDataIfNeeded, onHostRemoved, resetData, setData, setIdentifiersToEventUpdate, updateDatagetHash, getHash, isIdentifierValid, regenerateDataIdentifiers@Inject public HostLevelParamsHolder(AmbariEventPublisher ambariEventPublisher)
public HostLevelParamsUpdateEvent getCurrentData(Long hostId) throws org.apache.ambari.server.AmbariException
getCurrentData in class AgentHostDataHolder<HostLevelParamsUpdateEvent>org.apache.ambari.server.AmbariExceptionpublic HostLevelParamsUpdateEvent getCurrentDataExcludeCluster(Long hostId, Long clusterId) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariExceptionpublic void updateAllHosts()
throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariExceptionprotected HostLevelParamsUpdateEvent handleUpdate(HostLevelParamsUpdateEvent current, HostLevelParamsUpdateEvent update)
handleUpdate in class AgentHostDataHolder<HostLevelParamsUpdateEvent>protected HostLevelParamsUpdateEvent getEmptyData()
getEmptyData in class AgentDataHolder<HostLevelParamsUpdateEvent>public void onClusterComponentsRepoUpdate(ClusterComponentsRepoChangedEvent clusterComponentsRepoChangedEvent) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariExceptionpublic void onServiceComponentRecoveryChanged(ServiceComponentRecoveryChangedEvent event) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariExceptionpublic void onMaintenanceModeChanged(MaintenanceModeEvent event) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.