| java.lang.Object | ||
| ↳ | org.apache.helix.HelixProperty | |
| ↳ | org.apache.helix.model.Alerts | |
Describe alerts and corresponding metrics. An alert is triggered when cluster health violates pre-defined constraints to ensure that the cluster meets SLAs.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Alerts.AlertsProperty | Supported fields corresponding to a set of alerts | ||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | nodeName | The name of the ZNode corresponding to this property | |||||||||
| 
  [Expand]
   Inherited Fields  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   From class
org.apache.helix.HelixProperty
 | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Instantiate with an identifier 
  
   | |||||||||||
Instantiate with a pre-populated Alerts record 
  
   | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Get the instance that the alerts correspond to 
  
   | |||||||||||
Get the alerts 
  
   | |||||||||||
Get the session that the alerts correspond to 
  
   | |||||||||||
Get specific alert statistics 
  
   | |||||||||||
Get the session that the alerts correspond to 
  
   | |||||||||||
Get property validity 
  
   | |||||||||||
Set the session that the alerts correspond to 
  
   | |||||||||||
Set the session that the alerts correspond to 
  
   | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  org.apache.helix.HelixProperty
 | |||||||||||
   
From class
  java.lang.Object
 | |||||||||||
The name of the ZNode corresponding to this property
Instantiate with an identifier
| id | A string that identifies the alerts | 
|---|
Instantiate with a pre-populated Alerts record
| record | ZNRecord representing Alerts | 
|---|
Get the instance that the alerts correspond to
Get the alerts
Get the session that the alerts correspond to
Get specific alert statistics
| statName | the name of the statistic group | 
|---|
Get the session that the alerts correspond to
Get property validity
Set the session that the alerts correspond to
| sessionId | the session for which alerts occurred | 
|---|
Set the session that the alerts correspond to
| sessionId | the session for which alerts occurred | 
|---|