public class ZkClientQuotaClusterDescriber extends Object implements ClientQuotaClusterDescriber
| Modifier and Type | Class and Description |
|---|---|
static class | ZkClientQuotaClusterDescriber.PartitionIterator |
ClientQuotaClusterDescriber.Partition| Constructor and Description |
|---|
ZkClientQuotaClusterDescriber(Cluster cluster) |
| Modifier and Type | Method and Description |
|---|---|
Cluster | cluster() |
Iterator<ClientQuotaClusterDescriber.Partition> | partitionsForTopic(String topicName)For the given topic, return the leader of each partition. |
Iterator<String> | topicNames()Get an iterator through all the topic names in the cluster. |
public ZkClientQuotaClusterDescriber(Cluster cluster)
public Iterator<String> topicNames()
ClientQuotaClusterDescribertopicNames in interface ClientQuotaClusterDescriberpublic Iterator<ClientQuotaClusterDescriber.Partition> partitionsForTopic(String topicName)
ClientQuotaClusterDescriberpartitionsForTopic in interface ClientQuotaClusterDescriberpublic Cluster cluster()