The cluster monitor MBean supports the notifications shown in Table 2–82. These notifications are instances of the Message Queue JMX classes ClusterNotification and BrokerNotification, and their names are defined as static constants in those classes.
Table 2–82 Cluster Monitor Notifications
Name |
Utility Constant |
Description |
---|---|---|
A broker has joined the cluster |
||
A broker in the cluster has shut down or crashed |
Table 2–83 shows the methods defined in class ClusterNotification for obtaining details about a cluster monitor notification. See Table 2–6 for the corresponding methods of class BrokerNotification.
Table 2–83 Data Retrieval Methods for Cluster Monitor Notifications
Method |
Return Type |
Description |
---|---|---|
String | ||
String | ||
String |
Address of affected broker, in the form hostName:portNumber Example: host1:3000 |
|
Boolean |
Master broker affected? |