Class BrokerNotification
java.lang.Object
java.util.EventObject
javax.management.Notification
com.sun.messaging.jms.management.server.MQNotification
com.sun.messaging.jms.management.server.BrokerNotification
- All Implemented Interfaces:
Serializable
Class containing information on broker related notifications. This notification is broadcasted from the relevant
MBeans in a broker that is either:
- in the process of quiescing
- in the process of shutting down
- in the process of taking over another broker's persistence store
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringA broker has finished quiescing.static final StringA broker has started to quiesce.static final StringA broker's memory level/state has changedstatic final StringA broker has started the process of shutting down.static final StringA broker has completed the takeover of another broker.static final StringA broker has failed in the attempt to takeover another broker.static final StringA broker has started to takeover another broker.Fields inherited from class com.sun.messaging.jms.management.server.MQNotification
PREFIXFields inherited from class javax.management.Notification
source -
Constructor Summary
ConstructorsConstructorDescriptionBrokerNotification(String type, Object source, long sequenceNumber) Creates a BrokerNotification object. -
Method Summary
Methods inherited from class javax.management.Notification
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toStringMethods inherited from class java.util.EventObject
getSource
-
Field Details
-
BROKER_RESOURCE_STATE_CHANGE
A broker's memory level/state has changed- See Also:
-
BROKER_QUIESCE_COMPLETE
A broker has finished quiescing.- See Also:
-
BROKER_QUIESCE_START
A broker has started to quiesce.- See Also:
-
BROKER_SHUTDOWN_START
A broker has started the process of shutting down.- See Also:
-
BROKER_TAKEOVER_COMPLETE
A broker has completed the takeover of another broker.- See Also:
-
BROKER_TAKEOVER_FAIL
A broker has failed in the attempt to takeover another broker.- See Also:
-
BROKER_TAKEOVER_START
A broker has started to takeover another broker.- See Also:
-
-
Constructor Details
-
BrokerNotification
Creates a BrokerNotification object.- Parameters:
type- The notification type.source- The notification source.sequenceNumber- The notification sequence number within the source object.
-