com.sun.messaging.jms.management.server
public class ClusterNotification extends MQNotification
The MQ specific fields in this notification is TBD.
Modifier and Type | Field and Description |
---|---|
static String |
CLUSTER_BROKER_DOWN
A broker in the cluster has gone down
|
static String |
CLUSTER_BROKER_JOIN
A broker joined the cluster.
|
PREFIX
source
Constructor and Description |
---|
ClusterNotification(String type,
Object source,
long sequenceNumber)
Creates a ClusterNotification object.
|
Modifier and Type | Method and Description |
---|---|
String |
getBrokerAddress() |
String |
getBrokerID() |
String |
getClusterID() |
boolean |
isHighlyAvailable() |
boolean |
isMasterBroker() |
void |
setBrokerAddress(String brokerAddress) |
void |
setBrokerID(String brokerID) |
void |
setClusterID(String clusterID) |
void |
setHighlyAvailable(boolean highlyAvailable) |
void |
setMasterBroker(boolean isMaster) |
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString
getSource
public static final String CLUSTER_BROKER_DOWN
public static final String CLUSTER_BROKER_JOIN
public void setBrokerID(String brokerID)
public String getBrokerID()
public void setBrokerAddress(String brokerAddress)
public String getBrokerAddress()
public void setClusterID(String clusterID)
public String getClusterID()
public void setHighlyAvailable(boolean highlyAvailable)
public boolean isHighlyAvailable()
public void setMasterBroker(boolean isMaster)
public boolean isMasterBroker()
Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.