public class GlobalPartitionInformation extends Object implements Iterable<Partition>, Serializable
Constructor and Description |
---|
GlobalPartitionInformation(String topic) |
GlobalPartitionInformation(String topic,
Boolean bUseTopicNameForPartitionPathId) |
Modifier and Type | Method and Description |
---|---|
void |
addPartition(int partitionId,
Broker broker) |
boolean |
equals(Object obj) |
Broker |
getBrokerFor(Integer partitionId) |
Boolean |
getbUseTopicNameForPartitionPathId() |
List<Partition> |
getOrderedPartitions() |
int |
hashCode() |
Iterator<Partition> |
iterator() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public String topic
public GlobalPartitionInformation(String topic, Boolean bUseTopicNameForPartitionPathId)
public GlobalPartitionInformation(String topic)
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.