com.taobao.metamorphosis.client.producer
类 RoundRobinPartitionSelector
java.lang.Object
com.taobao.metamorphosis.client.producer.AbstractPartitionSelector
com.taobao.metamorphosis.client.producer.RoundRobinPartitionSelector
- 所有已实现的接口:
- PartitionSelector
public class RoundRobinPartitionSelector
- extends AbstractPartitionSelector
轮询的分区选择器,默认使用此选择器
- 作者:
- boyan
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoundRobinPartitionSelector
public RoundRobinPartitionSelector()
getPartition0
public Partition getPartition0(String topic,
List<Partition> partitions,
Message message)
throws MetaClientException
- 指定者:
- 类
AbstractPartitionSelector
中的 getPartition0
- 抛出:
MetaClientException
Copyright © 2010–2013. All rights reserved.