| 程序包 | 说明 |
|---|---|
| com.alibaba.rocketmq.client.hook | |
| com.alibaba.rocketmq.client.impl | |
| com.alibaba.rocketmq.client.impl.consumer |
| 限定符和类型 | 方法和说明 |
|---|---|
CommunicationMode |
CheckForbiddenContext.getCommunicationMode() |
CommunicationMode |
SendMessageContext.getCommunicationMode() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CheckForbiddenContext.setCommunicationMode(CommunicationMode communicationMode) |
void |
SendMessageContext.setCommunicationMode(CommunicationMode communicationMode) |
| 限定符和类型 | 方法和说明 |
|---|---|
static CommunicationMode |
CommunicationMode.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CommunicationMode[] |
CommunicationMode.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
PullResult |
MQClientAPIImpl.pullMessage(String addr,
PullMessageRequestHeader requestHeader,
long timeoutMillis,
CommunicationMode communicationMode,
PullCallback pullCallback) |
SendResult |
MQClientAPIImpl.sendMessage(String addr,
String brokerName,
Message msg,
SendMessageRequestHeader requestHeader,
long timeoutMillis,
CommunicationMode communicationMode,
SendCallback sendCallback,
TopicPublishInfo topicPublishInfo,
MQClientInstance instance,
int retryTimesWhenSendFailed,
SendMessageContext context) |
SendResult |
MQClientAPIImpl.sendMessage(String addr,
String brokerName,
Message msg,
SendMessageRequestHeader requestHeader,
long timeoutMillis,
CommunicationMode communicationMode,
SendMessageContext context) |
| 限定符和类型 | 方法和说明 |
|---|---|
PullResult |
PullAPIWrapper.pullKernelImpl(MessageQueue mq,
String subExpression,
long subVersion,
long offset,
int maxNums,
int sysFlag,
long commitOffset,
long brokerSuspendMaxTimeMillis,
long timeoutMillis,
CommunicationMode communicationMode,
PullCallback pullCallback) |
Copyright © 2012–2016. All rights reserved.