Modifier and Type | Method and Description |
---|---|
ServiceComponentDesiredStateEntity |
ServiceComponentDesiredStateDAO.findById(long id)
Gets a
ServiceComponentDesiredStateEntity by its PK ID. |
ServiceComponentDesiredStateEntity |
ServiceComponentDesiredStateDAO.findByName(long clusterId,
String serviceName,
String componentName)
Finds a
ServiceComponentDesiredStateEntity by a combination of
cluster, service, and component. |
ServiceComponentDesiredStateEntity |
ServiceComponentDesiredStateDAO.merge(ServiceComponentDesiredStateEntity serviceComponentDesiredStateEntity) |
Modifier and Type | Method and Description |
---|---|
List<ServiceComponentDesiredStateEntity> |
ServiceComponentDesiredStateDAO.findAll() |
List<ServiceComponentDesiredStateEntity> |
ServiceComponentDesiredStateDAO.findByNames(Map<Long,Map<String,List<String>>> serviceComponentDesiredStates)
Finds a
ServiceComponentDesiredStateEntity by a combination of cluster id, service and component names. |
Modifier and Type | Method and Description |
---|---|
void |
ServiceComponentDesiredStateDAO.create(ServiceComponentDesiredStateEntity serviceComponentDesiredStateEntity) |
ServiceComponentDesiredStateEntity |
ServiceComponentDesiredStateDAO.merge(ServiceComponentDesiredStateEntity serviceComponentDesiredStateEntity) |
void |
ServiceComponentDesiredStateDAO.refresh(ServiceComponentDesiredStateEntity serviceComponentDesiredStateEntity) |
void |
ServiceComponentDesiredStateDAO.remove(ServiceComponentDesiredStateEntity serviceComponentDesiredStateEntity) |
Modifier and Type | Method and Description |
---|---|
ServiceComponentDesiredStateEntity |
ServiceComponentVersionEntity.getServiceComponentDesiredState() |
ServiceComponentDesiredStateEntity |
HostComponentStateEntity.getServiceComponentDesiredStateEntity() |
ServiceComponentDesiredStateEntity |
HostComponentDesiredStateEntity.getServiceComponentDesiredStateEntity() |
Modifier and Type | Method and Description |
---|---|
Collection<ServiceComponentDesiredStateEntity> |
ClusterServiceEntity.getServiceComponentDesiredStateEntities() |
Modifier and Type | Method and Description |
---|---|
void |
ServiceComponentVersionEntity.setServiceComponentDesiredState(ServiceComponentDesiredStateEntity serviceComponentDesiredStateEntity) |
void |
HostComponentStateEntity.setServiceComponentDesiredStateEntity(ServiceComponentDesiredStateEntity serviceComponentDesiredStateEntity) |
void |
HostComponentDesiredStateEntity.setServiceComponentDesiredStateEntity(ServiceComponentDesiredStateEntity serviceComponentDesiredStateEntity) |
Modifier and Type | Method and Description |
---|---|
void |
ClusterServiceEntity.setServiceComponentDesiredStateEntities(Collection<ServiceComponentDesiredStateEntity> serviceComponentDesiredStateEntities) |
Modifier and Type | Method and Description |
---|---|
ServiceComponent |
ServiceComponentFactory.createExisting(Service service,
ServiceComponentDesiredStateEntity serviceComponentDesiredStateEntity) |
ServiceComponentHost |
ServiceComponentHostFactory.createNew(ServiceComponent serviceComponent,
String hostName,
ServiceComponentDesiredStateEntity serviceComponentDesiredStateEntity) |
protected void |
ServiceComponentImpl.persistEntities(ServiceComponentDesiredStateEntity desiredStateEntity) |
Constructor and Description |
---|
ServiceComponentImpl(Service service,
ServiceComponentDesiredStateEntity serviceComponentDesiredStateEntity,
AmbariMetaInfo ambariMetaInfo,
ServiceComponentDesiredStateDAO serviceComponentDesiredStateDAO,
ClusterServiceDAO clusterServiceDAO,
HostComponentDesiredStateDAO hostComponentDesiredStateDAO,
ServiceComponentHostFactory serviceComponentHostFactory,
AmbariEventPublisher eventPublisher) |
Constructor and Description |
---|
ServiceComponentHostImpl(ServiceComponent serviceComponent,
String hostName,
ServiceComponentDesiredStateEntity serviceComponentDesiredStateEntity,
Clusters clusters,
StackDAO stackDAO,
HostDAO hostDAO,
ServiceComponentDesiredStateDAO serviceComponentDesiredStateDAO,
HostComponentStateDAO hostComponentStateDAO,
HostComponentDesiredStateDAO hostComponentDesiredStateDAO,
AmbariEventPublisher eventPublisher) |
Copyright © 2022 Apache Software Foundation. All rights reserved.