public interface DataService
| 限定符和类型 | 方法和说明 |
|---|---|
int |
changeConsumerStatus(String topic,
String group,
int status)
开启/关闭消费者
|
Set<String> |
getAllGroups()
获取所有注册的groups
|
List<MsgListStatus> |
getAllMsgList()
获取所有消息队列
|
Set<String> |
getAllTopics()
获取所有的注册topic
|
Set<String> |
getGroupTopics(String group)
获取消费者分组监听的主题
|
MsgListStatus |
getMsgList(String topic,
String group)
获取消息队列长度,剩余未处理消息
|
Set<String> |
getTopicGroups(String topic)
获取主题下注册的消费者分组
|
MsgListStatus getMsgList(String topic, String group)
topic - group - List<MsgListStatus> getAllMsgList()
Copyright © 2019. All rights reserved.