com.alibaba.rocketmq.client.impl.consumer
类 RebalancePullImpl

java.lang.Object
  继承者 com.alibaba.rocketmq.client.impl.consumer.RebalanceImpl
      继承者 com.alibaba.rocketmq.client.impl.consumer.RebalancePullImpl

public class RebalancePullImpl
extends RebalanceImpl

从以下版本开始:
2013-6-22
作者:
shijia.wxr

字段摘要
 
从类 com.alibaba.rocketmq.client.impl.consumer.RebalanceImpl 继承的字段
allocateMessageQueueStrategy, consumerGroup, log, messageModel, mQClientFactory, processQueueTable, subscriptionInner, topicSubscribeInfoTable
 
构造方法摘要
RebalancePullImpl(DefaultMQPullConsumerImpl defaultMQPullConsumerImpl)
           
RebalancePullImpl(String consumerGroup, MessageModel messageModel, AllocateMessageQueueStrategy allocateMessageQueueStrategy, MQClientFactory mQClientFactory, DefaultMQPullConsumerImpl defaultMQPullConsumerImpl)
           
 
方法摘要
 long computePullFromWhere(MessageQueue mq)
           
 void dispatchPullRequest(List<PullRequest> pullRequestList)
           
 void messageQueueChanged(String topic, Set<MessageQueue> mqAll, Set<MessageQueue> mqDivided)
           
 boolean removeUnnecessaryMessageQueue(MessageQueue mq, ProcessQueue pq)
           
 
从类 com.alibaba.rocketmq.client.impl.consumer.RebalanceImpl 继承的方法
doRebalance, getAllocateMessageQueueStrategy, getConsumerGroup, getMessageModel, getmQClientFactory, getProcessQueueTable, getSubscriptionInner, getTopicSubscribeInfoTable, lock, lockAll, setAllocateMessageQueueStrategy, setConsumerGroup, setMessageModel, setmQClientFactory, unlock, unlockAll
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

RebalancePullImpl

public RebalancePullImpl(DefaultMQPullConsumerImpl defaultMQPullConsumerImpl)

RebalancePullImpl

public RebalancePullImpl(String consumerGroup,
                         MessageModel messageModel,
                         AllocateMessageQueueStrategy allocateMessageQueueStrategy,
                         MQClientFactory mQClientFactory,
                         DefaultMQPullConsumerImpl defaultMQPullConsumerImpl)
方法详细信息

computePullFromWhere

public long computePullFromWhere(MessageQueue mq)
指定者:
RebalanceImpl 中的 computePullFromWhere

dispatchPullRequest

public void dispatchPullRequest(List<PullRequest> pullRequestList)
指定者:
RebalanceImpl 中的 dispatchPullRequest

messageQueueChanged

public void messageQueueChanged(String topic,
                                Set<MessageQueue> mqAll,
                                Set<MessageQueue> mqDivided)
指定者:
RebalanceImpl 中的 messageQueueChanged

removeUnnecessaryMessageQueue

public boolean removeUnnecessaryMessageQueue(MessageQueue mq,
                                             ProcessQueue pq)
指定者:
RebalanceImpl 中的 removeUnnecessaryMessageQueue


Copyright © 2012-2014. All Rights Reserved.