Package | Description |
---|---|
org.apache.ambari.server.events | |
org.apache.ambari.server.orm.dao |
Modifier and Type | Method and Description |
---|---|
AlertSummaryDTO |
HostUpdateEvent.getAlertsSummary() |
Modifier and Type | Method and Description |
---|---|
static HostUpdateEvent |
HostUpdateEvent.createHostAlertsUpdate(String clusterName,
String hostName,
AlertSummaryDTO alertsSummary) |
static HostUpdateEvent |
HostUpdateEvent.createHostMaintenanceStatusUpdate(String clusterName,
String hostName,
MaintenanceState maintenanceState,
AlertSummaryDTO alertsSummary) |
void |
HostUpdateEvent.setAlertsSummary(AlertSummaryDTO alertsSummary) |
Constructor and Description |
---|
HostUpdateEvent(String clusterName,
String hostName,
String hostStatus,
HostState hostState,
Long lastHeartbeatTime,
MaintenanceState maintenanceState,
AlertSummaryDTO alertsSummary) |
Modifier and Type | Class and Description |
---|---|
class |
HostAlertSummaryDTO
Used when getting per host alert summary in bulk where a single database call will
return alert summaries for multiple hosts.
|
Modifier and Type | Method and Description |
---|---|
AlertSummaryDTO |
AlertsDAO.findAggregateCounts(long clusterId,
String alertName)
Finds the aggregate counts for an alert name, across all hosts.
|
AlertSummaryDTO |
AlertsDAO.findCurrentCounts(long clusterId,
String serviceName,
String hostName)
Retrieves the summary information for a particular scope.
|
Modifier and Type | Method and Description |
---|---|
Map<String,AlertSummaryDTO> |
AlertsDAO.findCurrentPerHostCounts(long clusterId)
Retrieves the summary information for all the hosts in the provided cluster.
|
Copyright © 2022 Apache Software Foundation. All rights reserved.