提交 d54629c3 编写于 作者: A ayanamist

Add abbreviation for fields of PopCheckPoint to save commit log size.

上级 f868d992
......@@ -16,19 +16,30 @@
*/
package org.apache.rocketmq.store.pop;
import com.alibaba.fastjson.annotation.JSONField;
import java.util.ArrayList;
import java.util.List;
public class PopCheckPoint {
@JSONField(name = "so")
private long startOffset;
@JSONField(name = "pt")
private long popTime;
@JSONField(name = "it")
private long invisibleTime;
@JSONField(name = "bm")
private int bitMap;
@JSONField(name = "n")
private byte num;
@JSONField(name = "q")
private byte queueId;
@JSONField(name = "t")
private String topic;
@JSONField(name = "c")
private String cid;
@JSONField(name = "ro")
private long reviveOffset;
@JSONField(name = "d")
private List<Integer> queueOffsetDiff;
public long getReviveOffset() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册