public enum KafkaTridentSpoutTopicPartitionRegistry extends Enum<KafkaTridentSpoutTopicPartitionRegistry>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
addAll(Collection<? extends org.apache.kafka.common.TopicPartition> topicPartitions) |
Set<org.apache.kafka.common.TopicPartition> |
getTopicPartitions() |
void |
removeAll(Collection<? extends org.apache.kafka.common.TopicPartition> topicPartitions) |
static KafkaTridentSpoutTopicPartitionRegistry |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KafkaTridentSpoutTopicPartitionRegistry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KafkaTridentSpoutTopicPartitionRegistry INSTANCE
public static KafkaTridentSpoutTopicPartitionRegistry[] values()
for (KafkaTridentSpoutTopicPartitionRegistry c : KafkaTridentSpoutTopicPartitionRegistry.values()) System.out.println(c);
public static KafkaTridentSpoutTopicPartitionRegistry 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 Set<org.apache.kafka.common.TopicPartition> getTopicPartitions()
public void addAll(Collection<? extends org.apache.kafka.common.TopicPartition> topicPartitions)
public void removeAll(Collection<? extends org.apache.kafka.common.TopicPartition> topicPartitions)
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.