public static enum AbstractPartition.PartitionType extends Enum<AbstractPartition.PartitionType>
| Modifier and Type | Method and Description |
|---|---|
static AbstractPartition.PartitionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractPartition.PartitionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractPartition.PartitionType Broker
public static final AbstractPartition.PartitionType Bookie
public static final AbstractPartition.PartitionType Offload
public static AbstractPartition.PartitionType[] values()
for (AbstractPartition.PartitionType c : AbstractPartition.PartitionType.values()) System.out.println(c);
public static AbstractPartition.PartitionType 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 nullCopyright © 2019–2022 The Apache Software Foundation. All rights reserved.