com.taobao.metamorphosis.client.producer
类 RandomPartitionSelector
java.lang.Object
com.taobao.metamorphosis.client.producer.AbstractPartitionSelector
com.taobao.metamorphosis.client.producer.RandomPartitionSelector
- 所有已实现的接口:
- PartitionSelector
public class RandomPartitionSelector
- extends AbstractPartitionSelector
Random partition selector
- 作者:
- dennis
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomPartitionSelector
public RandomPartitionSelector()
getPartition0
public Partition getPartition0(String topic,
List<Partition> partitions,
Message message)
throws MetaClientException
- 指定者:
- 类
AbstractPartitionSelector
中的 getPartition0
- 抛出:
MetaClientException
Copyright © 2010–2013. All rights reserved.