Modifier and Type | Method and Description |
---|---|
HostComponentDesiredStateEntity |
HostComponentDesiredStateDAO.findById(long id) |
HostComponentDesiredStateEntity |
HostComponentDesiredStateDAO.findByIndex(Long clusterId,
String serviceName,
String componentName,
Long hostId)
Retrieve the single Host Component Desired State for the given unique cluster, service, component, and host.
|
HostComponentDesiredStateEntity |
HostComponentDesiredStateDAO.findByServiceComponentAndHost(String serviceName,
String componentName,
String hostName)
Retrieve the single Host Component Desired State for the given unique service, component, and host.
|
HostComponentDesiredStateEntity |
HostComponentDesiredStateDAO.merge(HostComponentDesiredStateEntity hostComponentDesiredStateEntity) |
Modifier and Type | Method and Description |
---|---|
List<HostComponentDesiredStateEntity> |
HostComponentDesiredStateDAO.findAll() |
List<HostComponentDesiredStateEntity> |
HostComponentDesiredStateDAO.findByHostsAndCluster(Collection<Long> hostIds,
Long clusterId) |
List<HostComponentDesiredStateEntity> |
HostComponentDesiredStateDAO.findByIndex(Long clusterId,
String serviceName,
String componentName)
Retrieve the single Host Component Desired State for the given unique cluster, service, component, and host.
|
Modifier and Type | Method and Description |
---|---|
void |
HostComponentDesiredStateDAO.create(HostComponentDesiredStateEntity hostComponentDesiredStateEntity) |
HostComponentDesiredStateEntity |
HostComponentDesiredStateDAO.merge(HostComponentDesiredStateEntity hostComponentDesiredStateEntity) |
void |
HostComponentDesiredStateDAO.refresh(HostComponentDesiredStateEntity hostComponentDesiredStateEntity) |
void |
HostComponentDesiredStateDAO.remove(HostComponentDesiredStateEntity hostComponentDesiredStateEntity) |
Modifier and Type | Method and Description |
---|---|
Collection<HostComponentDesiredStateEntity> |
HostEntity.getHostComponentDesiredStateEntities()
Get the read-only collection of host component desired state entities associated with this host entity.
|
Collection<HostComponentDesiredStateEntity> |
ServiceComponentDesiredStateEntity.getHostComponentDesiredStateEntities() |
Modifier and Type | Method and Description |
---|---|
void |
HostEntity.addHostComponentDesiredStateEntity(HostComponentDesiredStateEntity stateEntity)
Add a host component desired state entity to this host entity.
|
void |
HostEntity.removeHostComponentDesiredStateEntity(HostComponentDesiredStateEntity stateEntity)
Remove a host component desired state entity from this host entity.
|
Modifier and Type | Method and Description |
---|---|
void |
HostEntity.setHostComponentDesiredStateEntities(Collection<HostComponentDesiredStateEntity> hostComponentDesiredStateEntities) |
void |
ServiceComponentDesiredStateEntity.setHostComponentDesiredStateEntities(Collection<HostComponentDesiredStateEntity> hostComponentDesiredStateEntities) |
Modifier and Type | Method and Description |
---|---|
HostComponentDesiredStateEntity |
ServiceComponentHost.getDesiredStateEntity() |
Modifier and Type | Method and Description |
---|---|
ServiceComponentHost |
ServiceComponentHostFactory.createExisting(ServiceComponent serviceComponent,
HostComponentStateEntity stateEntity,
HostComponentDesiredStateEntity desiredStateEntity) |
boolean |
ServiceComponentHost.isRestartRequired(HostComponentDesiredStateEntity hostComponentDesiredStateEntity) |
boolean |
ConfigHelper.isStaleConfigs(ServiceComponentHost sch,
Map<String,DesiredConfig> requestDesiredConfigs,
HostComponentDesiredStateEntity hostComponentDesiredStateEntity) |
Modifier and Type | Method and Description |
---|---|
HostComponentDesiredStateEntity |
ServiceComponentHostImpl.getDesiredStateEntity()
Gets the desired state entity for this
ServiceComponentHost . |
Modifier and Type | Method and Description |
---|---|
boolean |
ServiceComponentHostImpl.isRestartRequired(HostComponentDesiredStateEntity hostComponentDesiredStateEntity) |
Constructor and Description |
---|
ServiceComponentHostImpl(ServiceComponent serviceComponent,
HostComponentStateEntity stateEntity,
HostComponentDesiredStateEntity desiredStateEntity,
Clusters clusters,
StackDAO stackDAO,
HostDAO hostDAO,
ServiceComponentDesiredStateDAO serviceComponentDesiredStateDAO,
HostComponentStateDAO hostComponentStateDAO,
HostComponentDesiredStateDAO hostComponentDesiredStateDAO,
AmbariEventPublisher eventPublisher) |
Copyright © 2022 Apache Software Foundation. All rights reserved.