public static enum StreamsPartitionAssignor.Error extends java.lang.Enum<StreamsPartitionAssignor.Error>
Enum Constant and Description |
---|
INCOMPLETE_SOURCE_TOPIC_METADATA |
NONE |
VERSION_PROBING |
Modifier and Type | Method and Description |
---|---|
int |
code() |
static StreamsPartitionAssignor.Error |
fromCode(int code) |
static StreamsPartitionAssignor.Error |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StreamsPartitionAssignor.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamsPartitionAssignor.Error NONE
public static final StreamsPartitionAssignor.Error INCOMPLETE_SOURCE_TOPIC_METADATA
public static final StreamsPartitionAssignor.Error VERSION_PROBING
public static StreamsPartitionAssignor.Error[] values()
for (StreamsPartitionAssignor.Error c : StreamsPartitionAssignor.Error.values()) System.out.println(c);
public static StreamsPartitionAssignor.Error 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 nullpublic int code()
public static StreamsPartitionAssignor.Error fromCode(int code)