com.alibaba.rocketmq.common.protocol.body.ConsumerOffsetSerializeWrapper Maven / Gradle / Ivy
package com.alibaba.rocketmq.common.protocol.body;
import java.util.concurrent.ConcurrentHashMap;
import com.alibaba.rocketmq.remoting.protocol.RemotingSerializable;
/**
* Consumer消费进度,序列化包装
*
* @author manhong.yqd
* @since 2013-8-19
*/
public class ConsumerOffsetSerializeWrapper extends RemotingSerializable {
private ConcurrentHashMap> offsetTable =
new ConcurrentHashMap>(512);
public ConcurrentHashMap> getOffsetTable() {
return offsetTable;
}
public void setOffsetTable(ConcurrentHashMap> offsetTable) {
this.offsetTable = offsetTable;
}
}