public enum BrokerRemovalCancellationMode extends java.lang.Enum<BrokerRemovalCancellationMode>
PERSISTENT_CANCELLATION
- the cancellation is long-lived and persisted.
This is typically done when a broker comes back up while being removed, therefore invalidating the removal operation
2. #TRANSIENT_CANCELLATION
- the cancellation is short-lived and not persisted.
This is typically done when Confluent Balancer fails over to another broker. Any removal operations are therefore
temporarily cancelled and restarted on the new Balancer.Enum Constant and Description |
---|
PERSISTENT_CANCELLATION |
TRANSIENT_CANCELLATION |
Modifier and Type | Method and Description |
---|---|
static BrokerRemovalCancellationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BrokerRemovalCancellationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrokerRemovalCancellationMode PERSISTENT_CANCELLATION
public static final BrokerRemovalCancellationMode TRANSIENT_CANCELLATION
public static BrokerRemovalCancellationMode[] values()
for (BrokerRemovalCancellationMode c : BrokerRemovalCancellationMode.values()) System.out.println(c);
public static BrokerRemovalCancellationMode 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 null