public static enum TopicPlacement.ObserverPromotionPolicy extends Enum<TopicPlacement.ObserverPromotionPolicy>
Enum Constant and Description |
---|
LEADER_IS_OBSERVER |
UNDER_MIN_ISR |
UNDER_REPLICATED |
Modifier and Type | Method and Description |
---|---|
static TopicPlacement.ObserverPromotionPolicy |
defaultPolicy() |
static TopicPlacement.ObserverPromotionPolicy |
defaultPolicy(int version) |
static TopicPlacement.ObserverPromotionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopicPlacement.ObserverPromotionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopicPlacement.ObserverPromotionPolicy UNDER_MIN_ISR
public static final TopicPlacement.ObserverPromotionPolicy UNDER_REPLICATED
public static final TopicPlacement.ObserverPromotionPolicy LEADER_IS_OBSERVER
public static TopicPlacement.ObserverPromotionPolicy[] values()
for (TopicPlacement.ObserverPromotionPolicy c : TopicPlacement.ObserverPromotionPolicy.values()) System.out.println(c);
public static TopicPlacement.ObserverPromotionPolicy 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 TopicPlacement.ObserverPromotionPolicy defaultPolicy(int version)
public static TopicPlacement.ObserverPromotionPolicy defaultPolicy()