| 程序包 | 说明 |
|---|---|
| com.qcloud.cmq.client.consumer | |
| com.qcloud.cmq.client.http | |
| com.qcloud.cmq.client.producer |
| 限定符和类型 | 方法和说明 |
|---|---|
BatchDeleteResult |
Consumer.batchDeleteMsg(String queue,
List<Long> receiptHandleList) |
void |
Consumer.batchDeleteMsg(String queue,
List<Long> receiptHandleList,
BatchDeleteCallback callback) |
BatchReceiveResult |
Consumer.batchReceiveMsg(String queue) |
void |
Consumer.batchReceiveMsg(String queue,
BatchReceiveCallback callback) |
BatchReceiveResult |
Consumer.batchReceiveMsg(String queue,
int number) |
void |
Consumer.batchReceiveMsg(String queue,
int number,
BatchReceiveCallback callback) |
BatchReceiveResult |
Consumer.batchReceiveMsg(String queue,
int number,
int pollingWaitSeconds) |
void |
Consumer.batchReceiveMsg(String queue,
int number,
int pollingWaitSeconds,
BatchReceiveCallback callback) |
DeleteResult |
Consumer.deleteMsg(String queue,
long receiptHandle) |
void |
Consumer.deleteMsg(String queue,
long receiptHandle,
DeleteCallback callback) |
ReceiveResult |
Consumer.receiveMsg(String queue) |
ReceiveResult |
Consumer.receiveMsg(String queue,
int pollingWaitingSeconds) |
void |
Consumer.receiveMsg(String queue,
int pollingWaitingSeconds,
ReceiveCallback callback) |
void |
Consumer.receiveMsg(String queue,
ReceiveCallback callback) |
void |
Consumer.subscribe(String queue,
MessageListener listener) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
AbstractHttpWrapper.call(String action,
TreeMap<String,String> param) |
| 限定符和类型 | 方法和说明 |
|---|---|
BatchPublishResult |
Producer.batchPublish(String topic,
List<String> msgList,
List<String> tagList) |
void |
Producer.batchPublish(String topic,
List<String> msgList,
List<String> tagList,
BatchPublishCallback callback) |
BatchPublishResult |
Producer.batchPublish(String topic,
List<String> msgList,
String routeKey) |
void |
Producer.batchPublish(String topic,
List<String> msgList,
String routeKey,
BatchPublishCallback callback) |
BatchSendResult |
Producer.batchSend(String queue,
List<String> msgList) |
void |
Producer.batchSend(String queue,
List<String> msgList,
BatchSendCallback callback) |
BatchSendResult |
Producer.batchSend(String queue,
List<String> msgList,
int delaySeconds) |
void |
Producer.batchSend(String queue,
List<String> msgList,
int delaySeconds,
BatchSendCallback callback) |
protected BatchSendResult |
Producer.batchSendTransactionMsg(String queue,
List<String> msgList,
int firstQueryInterval) |
List<String> |
ProducerImpl.findQueueRoute(String queue,
boolean needUpdate) |
List<String> |
ProducerImpl.findTopicRoute(String topic,
boolean needUpdate) |
PublishResult |
Producer.publish(String topic,
String msgBody) |
PublishResult |
Producer.publish(String topic,
String msgBody,
List<String> tagList) |
void |
Producer.publish(String topic,
String msgBody,
List<String> tagList,
PublishCallback callback) |
void |
ProducerImpl.publish(String topic,
String msgBody,
List<String> tagList,
PublishCallback callback,
long timeout) |
PublishResult |
Producer.publish(String topic,
String msgBody,
String routeKey) |
void |
Producer.publish(String topic,
String msgBody,
String routeKey,
PublishCallback callback) |
SendResult |
Producer.send(String queue,
String msgBody) |
SendResult |
Producer.send(String queue,
String msgBody,
int delaySeconds) |
SendResult |
ProducerImpl.send(String queue,
String msgBody,
int delaySeconds,
long timeout) |
void |
Producer.send(String queue,
String msgBody,
int delaySeconds,
SendCallback callback) |
void |
Producer.send(String queue,
String msgBody,
SendCallback callback) |
void |
ProducerImpl.sendConfirmMsgImpl(List<TransactionStatus> transactionStatusList,
String queueName,
BatchSendResult sendResult,
long timeout) |
void |
ProducerImpl.sendConfirmMsgImpl(TransactionStatus transactionStatus,
String queueName,
SendResult sendResult,
long timeout) |
protected SendResult |
Producer.sendTransactionMsg(String queue,
String msgBody,
int firstQueryInterval) |
SendResult |
ProducerImpl.sendTransactionMsg(String queue,
String msgBody,
int delaySeconds,
long timeout,
int firstQuery) |
Copyright © 2020. All rights reserved.