All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.rocketmq.common.protocol.header.CloneGroupOffsetRequestHeader Maven / Gradle / Ivy

There is a newer version: 3.6.2.Final
Show newest version
/**
 * $Id: DeleteTopicRequestHeader.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 manhong.yqd
 * @since 14-09-15
 */
public class CloneGroupOffsetRequestHeader implements CommandCustomHeader {
    @CFNotNull
    private String srcGroup;
    @CFNotNull
    private String destGroup;
    private String topic;
    private boolean offline;


    @Override
    public void checkFields() throws RemotingCommandException {
    }


    public String getDestGroup() {
        return destGroup;
    }


    public void setDestGroup(String destGroup) {
        this.destGroup = destGroup;
    }


    public String getTopic() {
        return topic;
    }


    public void setTopic(String topic) {
        this.topic = topic;
    }


    public String getSrcGroup() {

        return srcGroup;
    }


    public void setSrcGroup(String srcGroup) {
        this.srcGroup = srcGroup;
    }


    public boolean isOffline() {
        return offline;
    }


    public void setOffline(boolean offline) {
        this.offline = offline;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy