public enum ConsumerGroupState extends Enum<ConsumerGroupState>
Enum Constant and Description |
---|
COMPLETING_REBALANCE |
DEAD |
EMPTY |
PREPARING_REBALANCE |
STABLE |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static ConsumerGroupState |
parse(String name)
Parse a string into a consumer group state.
|
String |
toString() |
static ConsumerGroupState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsumerGroupState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsumerGroupState UNKNOWN
public static final ConsumerGroupState PREPARING_REBALANCE
public static final ConsumerGroupState COMPLETING_REBALANCE
public static final ConsumerGroupState STABLE
public static final ConsumerGroupState DEAD
public static final ConsumerGroupState EMPTY
public static ConsumerGroupState[] values()
for (ConsumerGroupState c : ConsumerGroupState.values()) System.out.println(c);
public static ConsumerGroupState 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 nullpublic static ConsumerGroupState parse(String name)
public String toString()
toString
in class Enum<ConsumerGroupState>