com.ibm.broker.config.proxy

Enum AttributeConstants.HAStatus

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AttributeConstants.HAStatus>
    Enclosing interface:
    AttributeConstants


    public static enum AttributeConstants.HAStatus
    extends java.lang.Enum<AttributeConstants.HAStatus>
    An enumeration of the states of a multi-instance broker that has been configured for high availabilty support.

    The state of a multi-instance broker is related to that of its partner multi-instance queue manager. They can both be in active state or standby state, or the broker can be stopped.

    • Method Detail

      • values

        public static AttributeConstants.HAStatus[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AttributeConstants.HAStatus c : AttributeConstants.HAStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AttributeConstants.HAStatus valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null