當前位置: 首頁>>代碼示例>>Java>>正文


Java AllocateMessageQueueStrategy類代碼示例

本文整理匯總了Java中org.apache.rocketmq.client.consumer.AllocateMessageQueueStrategy的典型用法代碼示例。如果您正苦於以下問題:Java AllocateMessageQueueStrategy類的具體用法?Java AllocateMessageQueueStrategy怎麽用?Java AllocateMessageQueueStrategy使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


AllocateMessageQueueStrategy類屬於org.apache.rocketmq.client.consumer包,在下文中一共展示了AllocateMessageQueueStrategy類的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: RebalanceImpl

import org.apache.rocketmq.client.consumer.AllocateMessageQueueStrategy; //導入依賴的package包/類
public RebalanceImpl(String consumerGroup, MessageModel messageModel, AllocateMessageQueueStrategy allocateMessageQueueStrategy,
    MQClientInstance mQClientFactory) {
    this.consumerGroup = consumerGroup;
    this.messageModel = messageModel;
    this.allocateMessageQueueStrategy = allocateMessageQueueStrategy;
    this.mQClientFactory = mQClientFactory;
}
 
開發者ID:lirenzuo,項目名稱:rocketmq-rocketmq-all-4.1.0-incubating,代碼行數:8,代碼來源:RebalanceImpl.java

示例2: RebalanceImpl

import org.apache.rocketmq.client.consumer.AllocateMessageQueueStrategy; //導入依賴的package包/類
public RebalanceImpl(String consumerGroup, MessageModel messageModel,
    AllocateMessageQueueStrategy allocateMessageQueueStrategy,
    MQClientInstance mQClientFactory) {
    this.consumerGroup = consumerGroup;
    this.messageModel = messageModel;
    this.allocateMessageQueueStrategy = allocateMessageQueueStrategy;
    this.mQClientFactory = mQClientFactory;
}
 
開發者ID:apache,項目名稱:rocketmq,代碼行數:9,代碼來源:RebalanceImpl.java

示例3: RebalancePullImpl

import org.apache.rocketmq.client.consumer.AllocateMessageQueueStrategy; //導入依賴的package包/類
public RebalancePullImpl(String consumerGroup, MessageModel messageModel, AllocateMessageQueueStrategy allocateMessageQueueStrategy,
    MQClientInstance mQClientFactory, DefaultMQPullConsumerImpl defaultMQPullConsumerImpl) {
    super(consumerGroup, messageModel, allocateMessageQueueStrategy, mQClientFactory);
    this.defaultMQPullConsumerImpl = defaultMQPullConsumerImpl;
}
 
開發者ID:lirenzuo,項目名稱:rocketmq-rocketmq-all-4.1.0-incubating,代碼行數:6,代碼來源:RebalancePullImpl.java

示例4: getAllocateMessageQueueStrategy

import org.apache.rocketmq.client.consumer.AllocateMessageQueueStrategy; //導入依賴的package包/類
public AllocateMessageQueueStrategy getAllocateMessageQueueStrategy() {
    return allocateMessageQueueStrategy;
}
 
開發者ID:lirenzuo,項目名稱:rocketmq-rocketmq-all-4.1.0-incubating,代碼行數:4,代碼來源:RebalanceImpl.java

示例5: setAllocateMessageQueueStrategy

import org.apache.rocketmq.client.consumer.AllocateMessageQueueStrategy; //導入依賴的package包/類
public void setAllocateMessageQueueStrategy(AllocateMessageQueueStrategy allocateMessageQueueStrategy) {
    this.allocateMessageQueueStrategy = allocateMessageQueueStrategy;
}
 
開發者ID:lirenzuo,項目名稱:rocketmq-rocketmq-all-4.1.0-incubating,代碼行數:4,代碼來源:RebalanceImpl.java

示例6: RebalancePushImpl

import org.apache.rocketmq.client.consumer.AllocateMessageQueueStrategy; //導入依賴的package包/類
public RebalancePushImpl(String consumerGroup, MessageModel messageModel, AllocateMessageQueueStrategy allocateMessageQueueStrategy,
    MQClientInstance mQClientFactory, DefaultMQPushConsumerImpl defaultMQPushConsumerImpl) {
    super(consumerGroup, messageModel, allocateMessageQueueStrategy, mQClientFactory);
    this.defaultMQPushConsumerImpl = defaultMQPushConsumerImpl;
}
 
開發者ID:lirenzuo,項目名稱:rocketmq-rocketmq-all-4.1.0-incubating,代碼行數:6,代碼來源:RebalancePushImpl.java

示例7: RebalancePullImpl

import org.apache.rocketmq.client.consumer.AllocateMessageQueueStrategy; //導入依賴的package包/類
public RebalancePullImpl(String consumerGroup, MessageModel messageModel,
    AllocateMessageQueueStrategy allocateMessageQueueStrategy,
    MQClientInstance mQClientFactory, DefaultMQPullConsumerImpl defaultMQPullConsumerImpl) {
    super(consumerGroup, messageModel, allocateMessageQueueStrategy, mQClientFactory);
    this.defaultMQPullConsumerImpl = defaultMQPullConsumerImpl;
}
 
開發者ID:apache,項目名稱:rocketmq,代碼行數:7,代碼來源:RebalancePullImpl.java

示例8: RebalancePushImpl

import org.apache.rocketmq.client.consumer.AllocateMessageQueueStrategy; //導入依賴的package包/類
public RebalancePushImpl(String consumerGroup, MessageModel messageModel,
    AllocateMessageQueueStrategy allocateMessageQueueStrategy,
    MQClientInstance mQClientFactory, DefaultMQPushConsumerImpl defaultMQPushConsumerImpl) {
    super(consumerGroup, messageModel, allocateMessageQueueStrategy, mQClientFactory);
    this.defaultMQPushConsumerImpl = defaultMQPushConsumerImpl;
}
 
開發者ID:apache,項目名稱:rocketmq,代碼行數:7,代碼來源:RebalancePushImpl.java


注:本文中的org.apache.rocketmq.client.consumer.AllocateMessageQueueStrategy類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。