com.alibaba.rocketmq.common.protocol.header.GetMaxOffsetResponseHeader Maven / Gradle / Ivy
/**
* $Id: GetMaxOffsetResponseHeader.java 1835 2013-05-16 02:00:50Z shijia.wxr $
*/
package com.alibaba.rocketmq.common.protocol.header;
import com.alibaba.rocketmq.remoting.CommandCustomHeader;
import com.alibaba.rocketmq.remoting.annotation.CFNotNull;
import com.alibaba.rocketmq.remoting.exception.RemotingCommandException;
/**
* @author shijia.wxr
*/
public class GetMaxOffsetResponseHeader implements CommandCustomHeader {
@CFNotNull
private Long offset;
@Override
public void checkFields() throws RemotingCommandException {
}
public Long getOffset() {
return offset;
}
public void setOffset(Long offset) {
this.offset = offset;
}
}