public enum BrokerChangeEvent extends Enum<BrokerChangeEvent>
Enum Constant and Description |
---|
DEAD_BROKER
Indicates the shut down of an existing broker that has gone offline
|
EXCLUDED_FOR_REPLICA_PLACEMENT
Indicates the application of a replica placement exclusion for a broker.
|
ONLINE_BROKER
Indicates the arrival of a broker that has just come online and joined the cluster
|
REMOVED_REPLICA_EXCLUSION
Indicates that a replica placement exclusion for a broker was removed.
|
Modifier and Type | Method and Description |
---|---|
static BrokerChangeEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BrokerChangeEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrokerChangeEvent ONLINE_BROKER
public static final BrokerChangeEvent DEAD_BROKER
public static final BrokerChangeEvent EXCLUDED_FOR_REPLICA_PLACEMENT
public static final BrokerChangeEvent REMOVED_REPLICA_EXCLUSION
public static BrokerChangeEvent[] values()
for (BrokerChangeEvent c : BrokerChangeEvent.values()) System.out.println(c);
public static BrokerChangeEvent valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null