org.apache.rocketmq.common.message.MessageQueueForC Java Examples
The following examples show how to use
org.apache.rocketmq.common.message.MessageQueueForC.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Broker2Client.java From DDMQ with Apache License 2.0 | 5 votes |
private List<MessageQueueForC> convertOffsetTable2OffsetList(Map<MessageQueue, Long> table) { List<MessageQueueForC> list = new ArrayList<>(); for (Entry<MessageQueue, Long> entry : table.entrySet()) { MessageQueue mq = entry.getKey(); MessageQueueForC tmp = new MessageQueueForC(mq.getTopic(), mq.getBrokerName(), mq.getQueueId(), entry.getValue()); list.add(tmp); } return list; }
Example #2
Source File: Broker2Client.java From rocketmq-4.3.0 with Apache License 2.0 | 5 votes |
private List<MessageQueueForC> convertOffsetTable2OffsetList(Map<MessageQueue, Long> table) { List<MessageQueueForC> list = new ArrayList<>(); for (Entry<MessageQueue, Long> entry : table.entrySet()) { MessageQueue mq = entry.getKey(); MessageQueueForC tmp = new MessageQueueForC(mq.getTopic(), mq.getBrokerName(), mq.getQueueId(), entry.getValue()); list.add(tmp); } return list; }
Example #3
Source File: Broker2Client.java From rocketmq with Apache License 2.0 | 5 votes |
private List<MessageQueueForC> convertOffsetTable2OffsetList(Map<MessageQueue, Long> table) { List<MessageQueueForC> list = new ArrayList<>(); for (Entry<MessageQueue, Long> entry : table.entrySet()) { MessageQueue mq = entry.getKey(); MessageQueueForC tmp = new MessageQueueForC(mq.getTopic(), mq.getBrokerName(), mq.getQueueId(), entry.getValue()); list.add(tmp); } return list; }
Example #4
Source File: Broker2Client.java From rocketmq-read with Apache License 2.0 | 5 votes |
/** * c语言的,不看 * @param table table * @return ; */ private List<MessageQueueForC> convertOffsetTable2OffsetList(Map<MessageQueue, Long> table) { List<MessageQueueForC> list = new ArrayList<>(); for (Entry<MessageQueue, Long> entry : table.entrySet()) { MessageQueue mq = entry.getKey(); MessageQueueForC tmp = new MessageQueueForC(mq.getTopic(), mq.getBrokerName(), mq.getQueueId(), entry.getValue()); list.add(tmp); } return list; }
Example #5
Source File: Broker2Client.java From rocketmq_trans_message with Apache License 2.0 | 5 votes |
private List<MessageQueueForC> convertOffsetTable2OffsetList(Map<MessageQueue, Long> table) { List<MessageQueueForC> list = new ArrayList<>(); for (Entry<MessageQueue, Long> entry : table.entrySet()) { MessageQueue mq = entry.getKey(); MessageQueueForC tmp = new MessageQueueForC(mq.getTopic(), mq.getBrokerName(), mq.getQueueId(), entry.getValue()); list.add(tmp); } return list; }
Example #6
Source File: Broker2Client.java From rocketmq with Apache License 2.0 | 5 votes |
private List<MessageQueueForC> convertOffsetTable2OffsetList(Map<MessageQueue, Long> table) { List<MessageQueueForC> list = new ArrayList<>(); for (Entry<MessageQueue, Long> entry : table.entrySet()) { MessageQueue mq = entry.getKey(); MessageQueueForC tmp = new MessageQueueForC(mq.getTopic(), mq.getBrokerName(), mq.getQueueId(), entry.getValue()); list.add(tmp); } return list; }
Example #7
Source File: Broker2Client.java From DDMQ with Apache License 2.0 | 5 votes |
private List<MessageQueueForC> convertOffsetTable2OffsetList(Map<MessageQueue, Long> table) { List<MessageQueueForC> list = new ArrayList<>(); for (Entry<MessageQueue, Long> entry : table.entrySet()) { MessageQueue mq = entry.getKey(); MessageQueueForC tmp = new MessageQueueForC(mq.getTopic(), mq.getBrokerName(), mq.getQueueId(), entry.getValue()); list.add(tmp); } return list; }
Example #8
Source File: Broker2Client.java From rocketmq-all-4.1.0-incubating with Apache License 2.0 | 5 votes |
private List<MessageQueueForC> convertOffsetTable2OffsetList(Map<MessageQueue, Long> table) { List<MessageQueueForC> list = new ArrayList<>(); for (Entry<MessageQueue, Long> entry : table.entrySet()) { MessageQueue mq = entry.getKey(); MessageQueueForC tmp = new MessageQueueForC(mq.getTopic(), mq.getBrokerName(), mq.getQueueId(), entry.getValue()); list.add(tmp); } return list; }
Example #9
Source File: ResetOffsetBodyForC.java From rocketmq with Apache License 2.0 | 4 votes |
public void setOffsetTable(List<MessageQueueForC> offsetTable) { this.offsetTable = offsetTable; }
Example #10
Source File: ResetOffsetBodyForC.java From rocketmq with Apache License 2.0 | 4 votes |
public List<MessageQueueForC> getOffsetTable() { return offsetTable; }
Example #11
Source File: ResetOffsetBodyForC.java From rocketmq_trans_message with Apache License 2.0 | 4 votes |
public void setOffsetTable(List<MessageQueueForC> offsetTable) { this.offsetTable = offsetTable; }
Example #12
Source File: ResetOffsetBodyForC.java From rocketmq_trans_message with Apache License 2.0 | 4 votes |
public List<MessageQueueForC> getOffsetTable() { return offsetTable; }
Example #13
Source File: ResetOffsetBodyForC.java From rocketmq-all-4.1.0-incubating with Apache License 2.0 | 4 votes |
public void setOffsetTable(List<MessageQueueForC> offsetTable) { this.offsetTable = offsetTable; }
Example #14
Source File: ResetOffsetBodyForC.java From rocketmq-all-4.1.0-incubating with Apache License 2.0 | 4 votes |
public List<MessageQueueForC> getOffsetTable() { return offsetTable; }
Example #15
Source File: ResetOffsetBodyForC.java From DDMQ with Apache License 2.0 | 4 votes |
public void setOffsetTable(List<MessageQueueForC> offsetTable) { this.offsetTable = offsetTable; }
Example #16
Source File: ResetOffsetBodyForC.java From DDMQ with Apache License 2.0 | 4 votes |
public List<MessageQueueForC> getOffsetTable() { return offsetTable; }
Example #17
Source File: ResetOffsetBodyForC.java From rocketmq with Apache License 2.0 | 4 votes |
public void setOffsetTable(List<MessageQueueForC> offsetTable) { this.offsetTable = offsetTable; }
Example #18
Source File: ResetOffsetBodyForC.java From rocketmq with Apache License 2.0 | 4 votes |
public List<MessageQueueForC> getOffsetTable() { return offsetTable; }
Example #19
Source File: ResetOffsetBodyForC.java From rocketmq-read with Apache License 2.0 | 4 votes |
public void setOffsetTable(List<MessageQueueForC> offsetTable) { this.offsetTable = offsetTable; }
Example #20
Source File: ResetOffsetBodyForC.java From rocketmq-read with Apache License 2.0 | 4 votes |
public List<MessageQueueForC> getOffsetTable() { return offsetTable; }
Example #21
Source File: ResetOffsetBodyForC.java From rocketmq-4.3.0 with Apache License 2.0 | 4 votes |
public void setOffsetTable(List<MessageQueueForC> offsetTable) { this.offsetTable = offsetTable; }
Example #22
Source File: ResetOffsetBodyForC.java From rocketmq-4.3.0 with Apache License 2.0 | 4 votes |
public List<MessageQueueForC> getOffsetTable() { return offsetTable; }
Example #23
Source File: ResetOffsetBodyForC.java From DDMQ with Apache License 2.0 | 4 votes |
public void setOffsetTable(List<MessageQueueForC> offsetTable) { this.offsetTable = offsetTable; }
Example #24
Source File: ResetOffsetBodyForC.java From DDMQ with Apache License 2.0 | 4 votes |
public List<MessageQueueForC> getOffsetTable() { return offsetTable; }