| Package | Description | 
|---|---|
| org.apache.ambari.server.events | |
| org.apache.ambari.server.events.listeners.alerts | |
| org.apache.ambari.server.events.publishers | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AlertDefinitionChangedEvent
The  
AlertDefinitionChangedEvent is used to represent that an
 AlertDefinition has been changed. | 
class  | 
AlertDefinitionDeleteEvent
The  
AlertDefinitionDeleteEvent is used to represent that an
 AlertDefinition has been removed from the system. | 
class  | 
AlertDefinitionDisabledEvent
The  
AlertDefinitionDisabledEvent is used to represent that an
 AlertDefinition has been disabled. | 
class  | 
AlertDefinitionRegistrationEvent
The  
AlertDefinitionRegistrationEvent is used to represent that an
 AlertDefinition is now a part of the system. | 
class  | 
AlertHashInvalidationEvent
The  
AlertHashInvalidationEvent is fired when one of the
 following conditions is met and the alerts running on an agent need to be
 recalculated:
 
 An alert definition changes.
 A host is removed from the cluster.
 A service host component is added or removed.
  | 
class  | 
ClusterComponentsRepoChangedEvent  | 
class  | 
HostComponentVersionAdvertisedEvent
The  
HostComponentVersionAdvertisedEvent
 occurs when a Host Component advertises it's current version value. | 
class  | 
HostsAddedEvent
The  
HostsAddedEvent is fired when the hosts are added to a cluster. | 
class  | 
RequestFinishedEvent
The  
RequestFinishedEvent is fired when a host is added to a cluster. | 
class  | 
ServiceComponentInstalledEvent
The  
ServiceComponentInstalledEvent class is fired when a service
 component is successfully installed. | 
class  | 
ServiceComponentUninstalledEvent
The  
ServiceComponentUninstalledEvent class is fired when a service
 component is successfully uninstalled. | 
class  | 
ServiceCredentialStoreUpdateEvent
The  
ServiceCredentialStoreUpdateEvent class is fired when a
 service credential store has been enabled or disabled | 
class  | 
ServiceEvent
The  
ServiceEvent class is the base for all service events in Ambari. | 
class  | 
ServiceInstalledEvent
The  
ServiceInstalledEvent class is fired when a service is
 successfully installed. | 
class  | 
ServiceRemovedEvent
The  
ServiceRemovedEvent class is fired when a service is successfully
 removed. | 
class  | 
StackUpgradeFinishEvent  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
AlertHashInvalidationListener.onAmbariEvent(ClusterEvent event)
Handles  
ClusterEvent by performing the following tasks:
 
 Invalidates all alerts across all hosts. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
VersionEventPublisher.publish(ClusterEvent event)
Publishes the specified event to all registered listeners that
  
Subscribe to any of the
 ClusterEvent instances. | 
Copyright © 2022 Apache Software Foundation. All rights reserved.