com.alibaba.rocketmq.client.impl.consumer
类 ConsumeMessageConcurrentlyService
java.lang.Object
com.alibaba.rocketmq.client.impl.consumer.ConsumeMessageConcurrentlyService
- 所有已实现的接口:
- ConsumeMessageService
public class ConsumeMessageConcurrentlyService
- extends Object
- implements ConsumeMessageService
并发消费消息服务
- 从以下版本开始:
- 2013-7-24
- 作者:
- shijia.wxr
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsumeMessageConcurrentlyService
public ConsumeMessageConcurrentlyService(DefaultMQPushConsumerImpl defaultMQPushConsumerImpl,
MessageListenerConcurrently messageListener)
start
public void start()
- 指定者:
- 接口
ConsumeMessageService 中的 start
shutdown
public void shutdown()
- 指定者:
- 接口
ConsumeMessageService 中的 shutdown
getConsumerStat
public ConsumerStat getConsumerStat()
sendMessageBack
public boolean sendMessageBack(MessageExt msg,
ConsumeConcurrentlyContext context)
processConsumeResult
public void processConsumeResult(ConsumeConcurrentlyStatus status,
ConsumeConcurrentlyContext context,
com.alibaba.rocketmq.client.impl.consumer.ConsumeMessageConcurrentlyService.ConsumeRequest consumeRequest)
submitConsumeRequest
public void submitConsumeRequest(List<MessageExt> msgs,
ProcessQueue processQueue,
MessageQueue messageQueue,
boolean dispathToConsume)
- 指定者:
- 接口
ConsumeMessageService 中的 submitConsumeRequest
updateCorePoolSize
public void updateCorePoolSize(int corePoolSize)
- 指定者:
- 接口
ConsumeMessageService 中的 updateCorePoolSize
Copyright © 2012-2014. All Rights Reserved.