Modifier and Type | Method and Description |
---|---|
static HostComponentUpdate |
HostComponentUpdate.createHostComponentStatusUpdate(HostComponentStateEntity stateEntity,
State previousState) |
Modifier and Type | Method and Description |
---|---|
HostComponentStateEntity |
HostComponentStateDAO.findById(long id) |
HostComponentStateEntity |
HostComponentStateDAO.findByIndex(Long clusterId,
String serviceName,
String componentName,
Long hostId)
Retrieve the single Host Component State for the given unique cluster,
service, component, and host.
|
HostComponentStateEntity |
HostComponentStateDAO.findByServiceComponentAndHost(String serviceName,
String componentName,
String hostName)
Retrieve the single Host Component State for the given unique service, component, and host.
|
HostComponentStateEntity |
HostComponentStateDAO.merge(HostComponentStateEntity hostComponentStateEntity)
Merges the managed entity
|
Modifier and Type | Method and Description |
---|---|
List<HostComponentStateEntity> |
HostComponentStateDAO.findAll() |
List<HostComponentStateEntity> |
HostComponentStateDAO.findByHost(String hostName)
Retrieve all of the Host Component States for the given host.
|
List<HostComponentStateEntity> |
HostComponentStateDAO.findByService(String serviceName)
Retrieve all of the Host Component States for the given service.
|
List<HostComponentStateEntity> |
HostComponentStateDAO.findByServiceAndComponent(String serviceName,
String componentName)
Retrieve all of the Host Component States for the given service and component.
|
List<HostComponentStateEntity> |
HostComponentStateDAO.findByServiceAndComponentAndNotVersion(String serviceName,
String componentName,
String version) |
Modifier and Type | Method and Description |
---|---|
void |
HostComponentStateDAO.create(HostComponentStateEntity hostComponentStateEntity) |
HostComponentStateEntity |
HostComponentStateDAO.merge(HostComponentStateEntity hostComponentStateEntity)
Merges the managed entity
|
void |
HostComponentStateDAO.refresh(HostComponentStateEntity hostComponentStateEntity) |
void |
HostComponentStateDAO.remove(HostComponentStateEntity hostComponentStateEntity) |
Modifier and Type | Method and Description |
---|---|
Collection<HostComponentStateEntity> |
HostEntity.getHostComponentStateEntities()
Get the read-only collection of host component state entities associated with this host entity.
|
Collection<HostComponentStateEntity> |
ServiceComponentDesiredStateEntity.getHostComponentStateEntities() |
Modifier and Type | Method and Description |
---|---|
void |
HostEntity.addHostComponentStateEntity(HostComponentStateEntity stateEntity)
Add a host component state entity to this host entity.
|
void |
HostEntity.removeHostComponentStateEntity(HostComponentStateEntity stateEntity)
Remove a host component state entity from this host entity.
|
Modifier and Type | Method and Description |
---|---|
void |
HostEntity.setHostComponentStateEntities(Collection<HostComponentStateEntity> hostComponentStateEntities) |
void |
ServiceComponentDesiredStateEntity.setHostComponentStateEntities(Collection<HostComponentStateEntity> hostComponentStateEntities) |
Modifier and Type | Method and Description |
---|---|
ServiceComponentHost |
ServiceComponentHostFactory.createExisting(ServiceComponent serviceComponent,
HostComponentStateEntity stateEntity,
HostComponentDesiredStateEntity desiredStateEntity) |
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.