Modifier and Type | Method and Description |
---|---|
Map<String,DesiredConfig> |
ClusterResponse.getDesiredConfigs() |
Modifier and Type | Method and Description |
---|---|
void |
ClusterResponse.setDesiredConfigs(Map<String,DesiredConfig> configs) |
Modifier and Type | Method and Description |
---|---|
Map<String,Set<DesiredConfig>> |
Cluster.getAllDesiredConfigVersions()
Gets all versions of the desired configurations for the cluster.
|
Map<Long,Map<String,DesiredConfig>> |
Cluster.getAllHostsDesiredConfigs()
Fetch desired configs for all hosts in cluster
|
Map<String,DesiredConfig> |
Cluster.getDesiredConfigs()
Gets the active desired configurations for the cluster.
|
Map<String,DesiredConfig> |
Cluster.getDesiredConfigs(boolean cachedConfigEntities)
Gets the active desired configurations for the cluster.
|
Map<String,DesiredConfig> |
Host.getDesiredConfigs(long clusterId)
Gets all the selected configurations for the host.
|
Map<Long,Map<String,DesiredConfig>> |
Cluster.getHostsDesiredConfigs(Collection<Long> hostIds)
Fetch desired configs for list of hosts in cluster
|
Modifier and Type | Method and Description |
---|---|
ServiceComponentHostResponse |
ServiceComponentHost.convertToResponse(Map<String,DesiredConfig> desiredConfigs)
Builds a
ServiceComponentHostResponse . |
ServiceComponentHostResponse |
ServiceComponentHost.convertToResponseStatusOnly(Map<String,DesiredConfig> desiredConfigs,
boolean collectStaleConfigsStatus) |
Map<String,Set<String>> |
ConfigHelper.createUserGroupsMap(Cluster cluster,
Map<String,DesiredConfig> desiredConfigs,
Map<String,ServiceInfo> servicesMap,
Set<PropertyInfo> stackProperties)
Fetch user to group mapping from the cluster configs.
|
Map<String,Set<String>> |
ConfigHelper.createUserGroupsMap(StackId stackId,
Cluster cluster,
Map<String,DesiredConfig> desiredConfigs)
Fetch user to group mapping from the cluster configs.
|
Map<String,HostConfig> |
Host.getDesiredHostConfigs(Cluster cluster,
Map<String,DesiredConfig> clusterDesiredConfigs)
Get the desired configurations for the host including overrides
|
Map<String,Map<String,String>> |
ConfigHelper.getEffectiveDesiredTags(Cluster cluster,
String hostName,
Map<String,DesiredConfig> desiredConfigs)
Gets the desired tags for a cluster and host
|
Map<PropertyInfo,String> |
ConfigHelper.getPropertiesWithPropertyType(PropertyInfo.PropertyType propertyType,
Cluster cluster,
Map<String,DesiredConfig> desiredConfigs,
Map<String,ServiceInfo> servicesMap,
Set<PropertyInfo> stackProperties)
Fetch all the properties of a given PropertyType.
|
Map<PropertyInfo,String> |
ConfigHelper.getPropertiesWithPropertyType(StackId stackId,
PropertyInfo.PropertyType propertyType,
Cluster cluster,
Map<String,DesiredConfig> desiredConfigs)
Fetch all the properties of a given PropertyType.
|
Set<String> |
ConfigHelper.getPropertyValuesWithPropertyType(PropertyInfo.PropertyType propertyType,
Cluster cluster,
Map<String,DesiredConfig> desiredConfigs,
Map<String,ServiceInfo> servicesMap,
Set<PropertyInfo> stackProperties)
Fetch all the property values of a given PropertyType.
|
Set<String> |
ConfigHelper.getPropertyValuesWithPropertyType(StackId stackId,
PropertyInfo.PropertyType propertyType,
Cluster cluster,
Map<String,DesiredConfig> desiredConfigs)
Fetch all the property values of a given PropertyType.
|
boolean |
ConfigHelper.isStaleConfigs(ServiceComponentHost sch,
Map<String,DesiredConfig> requestDesiredConfigs)
The purpose of this method is to determine if a
ServiceComponentHost 's known actual configs are different than what
is set on the cluster (the desired). |
boolean |
ConfigHelper.isStaleConfigs(ServiceComponentHost sch,
Map<String,DesiredConfig> requestDesiredConfigs,
HostComponentDesiredStateEntity hostComponentDesiredStateEntity) |
Modifier and Type | Method and Description |
---|---|
Map<String,Set<DesiredConfig>> |
ClusterImpl.getAllDesiredConfigVersions()
Gets all versions of the desired configurations for the cluster.
|
Map<Long,Map<String,DesiredConfig>> |
ClusterImpl.getAllHostsDesiredConfigs() |
Map<String,DesiredConfig> |
ClusterImpl.getDesiredConfigs() |
Map<String,DesiredConfig> |
ClusterImpl.getDesiredConfigs(boolean cachedConfigEntities) |
Map<Long,Map<String,DesiredConfig>> |
ClusterImpl.getHostsDesiredConfigs(Collection<Long> hostIds) |
Modifier and Type | Method and Description |
---|---|
Map<String,DesiredConfig> |
HostImpl.getDesiredConfigs(long clusterId) |
Modifier and Type | Method and Description |
---|---|
Map<String,HostConfig> |
HostImpl.getDesiredHostConfigs(Cluster cluster,
Map<String,DesiredConfig> clusterDesiredConfigs)
Get the desired configurations for the host including overrides
|
Modifier and Type | Method and Description |
---|---|
ServiceComponentHostResponse |
ServiceComponentHostImpl.convertToResponse(Map<String,DesiredConfig> desiredConfigs) |
ServiceComponentHostResponse |
ServiceComponentHostImpl.convertToResponseStatusOnly(Map<String,DesiredConfig> desiredConfigs,
boolean collectStaleConfigsStatus) |
Copyright © 2022 Apache Software Foundation. All rights reserved.