public class AlertHashInvalidationEvent extends ClusterEvent
AlertHashInvalidationEvent
is fired when one of the
following conditions is met and the alerts running on an agent need to be
recalculated:
AmbariEvent.AmbariEventType
m_clusterId
m_eventType
Constructor and Description |
---|
AlertHashInvalidationEvent(long clusterId,
Collection<String> hosts)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getHosts() |
getClusterId
getType, toString
public AlertHashInvalidationEvent(long clusterId, Collection<String> hosts)
clusterId
- the ID of the cluster that the definition is in.hosts
- the hosts that were invalidated.public Collection<String> getHosts()
Copyright © 2022 Apache Software Foundation. All rights reserved.