public static enum AttributeConstants.HAStatus extends java.lang.Enum<AttributeConstants.HAStatus>
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.
Enum Constant and Description |
---|
HA_BROKER_ACTIVE |
HA_BROKER_STANDBY |
HA_BROKER_STANDBY_ON_STOPPED_QMGR |
HA_BROKER_STOPPED |
HA_BROKER_WILL_START_AS_MQSERVICE |
Modifier and Type | Method and Description |
---|---|
static AttributeConstants.HAStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AttributeConstants.HAStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeConstants.HAStatus HA_BROKER_STOPPED
public static final AttributeConstants.HAStatus HA_BROKER_STANDBY
public static final AttributeConstants.HAStatus HA_BROKER_ACTIVE
public static final AttributeConstants.HAStatus HA_BROKER_STANDBY_ON_STOPPED_QMGR
public static final AttributeConstants.HAStatus HA_BROKER_WILL_START_AS_MQSERVICE
public static AttributeConstants.HAStatus[] values()
for (AttributeConstants.HAStatus c : AttributeConstants.HAStatus.values()) System.out.println(c);
public static AttributeConstants.HAStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null