public enum BrokerReplicaExclusionStatus extends Enum<BrokerReplicaExclusionStatus>
ConfluentAdmin#alterBrokerReplicaExclusions()
for more information about broker
replica exclusion.Enum Constant and Description |
---|
CANCELED
When the exclusion operation is canceled prior to initiation due to external influence.
|
COMPLETED
When the exclusion has been removed successfully.
|
ERROR
When broker replica exclusion (either setting or removing the exclusion) was started but did not complete successfully.
|
EXCLUDED
When the broker has been excluded from the cluster.
|
IN_PROGRESS
When the broker is being excluded from having replicas on it.
|
PENDING
When the broker is yet to be excluded from having replicas on it.
|
REMOVING
When the exclusion is in the process of being removed.
|
UNKNOWN
Kept for future-compatibility reasons - clients will fall-back to this status when they receive
an unrecognized one
|
Modifier and Type | Method and Description |
---|---|
static BrokerReplicaExclusionStatus |
toEnum(String name) |
static BrokerReplicaExclusionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BrokerReplicaExclusionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrokerReplicaExclusionStatus PENDING
public static final BrokerReplicaExclusionStatus IN_PROGRESS
public static final BrokerReplicaExclusionStatus EXCLUDED
public static final BrokerReplicaExclusionStatus REMOVING
public static final BrokerReplicaExclusionStatus ERROR
public static final BrokerReplicaExclusionStatus CANCELED
public static final BrokerReplicaExclusionStatus COMPLETED
public static final BrokerReplicaExclusionStatus UNKNOWN
public static BrokerReplicaExclusionStatus[] values()
for (BrokerReplicaExclusionStatus c : BrokerReplicaExclusionStatus.values()) System.out.println(c);
public static BrokerReplicaExclusionStatus 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 BrokerReplicaExclusionStatus toEnum(String name)