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:
java.io.Serializable
public class BrokerNotification extends MQNotification
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BROKER_QUIESCE_COMPLETE
A broker has finished quiescing.static java.lang.String
BROKER_QUIESCE_START
A broker has started to quiesce.static java.lang.String
BROKER_RESOURCE_STATE_CHANGE
A broker's memory level/state has changedstatic java.lang.String
BROKER_SHUTDOWN_START
A broker has started the process of shutting down.static java.lang.String
BROKER_TAKEOVER_COMPLETE
A broker has completed the takeover of another broker.static java.lang.String
BROKER_TAKEOVER_FAIL
A broker has failed in the attempt to takeover another broker.static java.lang.String
BROKER_TAKEOVER_START
A broker has started to takeover another broker.-
Fields inherited from class com.sun.messaging.jms.management.server.MQNotification
PREFIX
-
-
Constructor Summary
Constructors Constructor Description BrokerNotification(java.lang.String type, java.lang.Object source, long sequenceNumber)
Creates a BrokerNotification object.
-
-
-
Field Detail
-
BROKER_RESOURCE_STATE_CHANGE
public static final java.lang.String BROKER_RESOURCE_STATE_CHANGE
A broker's memory level/state has changed- See Also:
- Constant Field Values
-
BROKER_QUIESCE_COMPLETE
public static final java.lang.String BROKER_QUIESCE_COMPLETE
A broker has finished quiescing.- See Also:
- Constant Field Values
-
BROKER_QUIESCE_START
public static final java.lang.String BROKER_QUIESCE_START
A broker has started to quiesce.- See Also:
- Constant Field Values
-
BROKER_SHUTDOWN_START
public static final java.lang.String BROKER_SHUTDOWN_START
A broker has started the process of shutting down.- See Also:
- Constant Field Values
-
BROKER_TAKEOVER_COMPLETE
public static final java.lang.String BROKER_TAKEOVER_COMPLETE
A broker has completed the takeover of another broker.- See Also:
- Constant Field Values
-
BROKER_TAKEOVER_FAIL
public static final java.lang.String BROKER_TAKEOVER_FAIL
A broker has failed in the attempt to takeover another broker.- See Also:
- Constant Field Values
-
BROKER_TAKEOVER_START
public static final java.lang.String BROKER_TAKEOVER_START
A broker has started to takeover another broker.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BrokerNotification
public BrokerNotification(java.lang.String type, java.lang.Object source, long sequenceNumber)
Creates a BrokerNotification object.- Parameters:
type
- The notification type.source
- The notification source.sequenceNumber
- The notification sequence number within the source object.
-
-