com.sun.messaging.jms.management.server
Class ClusterNotification
java.lang.Object
java.util.EventObject
javax.management.Notification
com.sun.messaging.jms.management.server.MQNotification
com.sun.messaging.jms.management.server.ClusterNotification
- All Implemented Interfaces:
- Serializable
public class ClusterNotification
- extends MQNotification
Class containing information on cluster related notifications.
The MQ specific fields in this notification is TBD.
- See Also:
- Serialized Form
CLUSTER_BROKER_DOWN
public static final String CLUSTER_BROKER_DOWN
- A broker in the cluster has gone down
- See Also:
- Constant Field Values
CLUSTER_BROKER_JOIN
public static final String CLUSTER_BROKER_JOIN
- A broker joined the cluster.
- See Also:
- Constant Field Values
ClusterNotification
public ClusterNotification(String type,
Object source,
long sequenceNumber)
- Creates a ClusterNotification object.
- Parameters:
type
- The notification type.source
- The notification source.sequenceNumber
- The notification sequence number within the source object.
setBrokerID
public void setBrokerID(String brokerID)
getBrokerID
public String getBrokerID()
setBrokerAddress
public void setBrokerAddress(String brokerAddress)
getBrokerAddress
public String getBrokerAddress()
setClusterID
public void setClusterID(String clusterID)
getClusterID
public String getClusterID()
setHighlyAvailable
public void setHighlyAvailable(boolean highlyAvailable)
isHighlyAvailable
public boolean isHighlyAvailable()
setMasterBroker
public void setMasterBroker(boolean isMaster)
isMasterBroker
public boolean isMasterBroker()
Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.