Package | Description |
---|---|
org.apache.ambari.server.events | |
org.apache.ambari.server.orm.dao | |
org.apache.ambari.server.orm.entities | |
org.apache.ambari.server.state |
Constructor and Description |
---|
ConfigsUpdateEvent(Cluster cluster,
Collection<ClusterConfigEntity> configs) |
Modifier and Type | Method and Description |
---|---|
ClusterConfigEntity |
ClusterDAO.findConfig(Long configEntityPK) |
ClusterConfigEntity |
ClusterDAO.findConfig(Long clusterId,
String type,
Long version) |
ClusterConfigEntity |
ClusterDAO.findConfig(Long clusterId,
String type,
String tag) |
ClusterConfigEntity |
ClusterDAO.findEnabledConfigByType(long clusterId,
String type)
Gets the latest config in the given cluster by type name.
|
ClusterConfigEntity |
ClusterDAO.merge(ClusterConfigEntity clusterConfigEntity)
Merge the specified entity into the current persistence context.
|
ClusterConfigEntity |
ClusterDAO.merge(ClusterConfigEntity clusterConfigEntity,
boolean flush)
Merge the specified entity into the current persistence context.
|
Modifier and Type | Method and Description |
---|---|
List<ClusterConfigEntity> |
ClusterDAO.getAllConfigurations(Long clusterId,
StackId stackId)
Get all configurations for the specified cluster and stack.
|
List<ClusterConfigEntity> |
ClusterDAO.getEnabledConfigs(long clusterId)
Gets the latest configurations for the specified cluster.
|
List<ClusterConfigEntity> |
ClusterDAO.getEnabledConfigsByStack(long clusterId,
StackId stackId)
Gets the latest configurations for a given stack for all of the
configurations of the specified cluster.
|
List<ClusterConfigEntity> |
ClusterDAO.getEnabledConfigsByTypes(Long clusterId,
Collection<String> types) |
List<ClusterConfigEntity> |
ClusterDAO.getLatestConfigurations(long clusterId,
StackId stackId)
Gets the latest configurations for a given stack for all of the
configurations of the specified cluster.
|
List<ClusterConfigEntity> |
ClusterDAO.getLatestConfigurationsWithTypes(long clusterId,
StackId stackId,
Collection<String> configTypes)
Gets the latest configurations for a given stack with any of the given config types.
|
Modifier and Type | Method and Description |
---|---|
void |
ClusterDAO.createConfig(ClusterConfigEntity entity)
Creates a cluster configuration in the DB.
|
ClusterConfigEntity |
ClusterDAO.merge(ClusterConfigEntity clusterConfigEntity)
Merge the specified entity into the current persistence context.
|
ClusterConfigEntity |
ClusterDAO.merge(ClusterConfigEntity clusterConfigEntity,
boolean flush)
Merge the specified entity into the current persistence context.
|
void |
ClusterDAO.removeConfig(ClusterConfigEntity entity)
Remove a cluster configuration in the DB.
|
Modifier and Type | Method and Description |
---|---|
ClusterConfigEntity |
ConfigGroupConfigMappingEntity.getClusterConfigEntity() |
Modifier and Type | Method and Description |
---|---|
Collection<ClusterConfigEntity> |
ClusterEntity.getClusterConfigEntities() |
List<ClusterConfigEntity> |
ServiceConfigEntity.getClusterConfigEntities() |
Modifier and Type | Method and Description |
---|---|
void |
ConfigGroupConfigMappingEntity.setClusterConfigEntity(ClusterConfigEntity clusterConfigEntity) |
Modifier and Type | Method and Description |
---|---|
void |
ClusterEntity.setClusterConfigEntities(Collection<ClusterConfigEntity> entities) |
void |
ServiceConfigEntity.setClusterConfigEntities(List<ClusterConfigEntity> clusterConfigEntities) |
Modifier and Type | Method and Description |
---|---|
Config |
ConfigFactory.createExisting(Cluster cluster,
ClusterConfigEntity entity)
Creates a new
Config object using provided entity |
Copyright © 2022 Apache Software Foundation. All rights reserved.