Class BrokerState

java.lang.Object
com.sun.messaging.jms.management.server.BrokerState
All Implemented Interfaces:
Serializable

public class BrokerState extends Object implements Serializable
Class containing information on broker states.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The broker is down.
    static final int
    The broker is initializing.
    static final int
    A broker has started and is operating normally.
    static final int
    The broker has finished quiescing.
    static final int
    The broker has started to quiesce.
    static final int
    The broker is starting to shutdown (either immediately or after a specific grace period) or restart
    static final int
    The broker has completed the takeover another broker's message store.
    static final int
    The broker has failed in the attempt to takeover another broker's message store.
    static final int
    The broker has started to takeover another broker's message store.
    static final int
    Unknown broker state.
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    toString(int state)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • UNKNOWN

      public static final int UNKNOWN
      Unknown broker state.
      See Also:
    • OPERATING

      public static final int OPERATING
      A broker has started and is operating normally.
      See Also:
    • TAKEOVER_STARTED

      public static final int TAKEOVER_STARTED
      The broker has started to takeover another broker's message store. This applies to brokers that are part of a HA cluster.
      See Also:
    • TAKEOVER_COMPLETE

      public static final int TAKEOVER_COMPLETE
      The broker has completed the takeover another broker's message store. This applies to brokers that are part of a HA cluster.
      See Also:
    • TAKEOVER_FAILED

      public static final int TAKEOVER_FAILED
      The broker has failed in the attempt to takeover another broker's message store. This applies to brokers that are part of a HA cluster.
      See Also:
    • QUIESCE_STARTED

      public static final int QUIESCE_STARTED
      The broker has started to quiesce.
      See Also:
    • QUIESCE_COMPLETE

      public static final int QUIESCE_COMPLETE
      The broker has finished quiescing.
      See Also:
    • SHUTDOWN_STARTED

      public static final int SHUTDOWN_STARTED
      The broker is starting to shutdown (either immediately or after a specific grace period) or restart
      See Also:
    • BROKER_DOWN

      public static final int BROKER_DOWN
      The broker is down.
      See Also:
    • INITIALIZING

      public static final int INITIALIZING
      The broker is initializing.
      See Also:
  • Method Details

    • toString

      public static String toString(int state)