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

构造方法摘要
RandomPartitionSelector()
           
 
方法摘要
 Partition getPartition0(String topic, List<Partition> partitions, Message message)
           
 
从类 com.taobao.metamorphosis.client.producer.AbstractPartitionSelector 继承的方法
getPartition
 
从类 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.