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

com.alibaba.rocketmq.common.protocol.body.SubscriptionGroupWrapper Maven / Gradle / Ivy

package com.alibaba.rocketmq.common.protocol.body;

import com.alibaba.rocketmq.common.DataVersion;
import com.alibaba.rocketmq.common.subscription.SubscriptionGroupConfig;
import com.alibaba.rocketmq.remoting.protocol.RemotingSerializable;

import java.util.concurrent.ConcurrentHashMap;


/**
 * 订阅组配置,序列化包装
 *
 * @author manhong.yqd
 * @since 2013-8-19
 */
public class SubscriptionGroupWrapper extends RemotingSerializable {
    private ConcurrentHashMap subscriptionGroupTable =
            new ConcurrentHashMap(1024);
    private DataVersion dataVersion = new DataVersion();


    public ConcurrentHashMap getSubscriptionGroupTable() {
        return subscriptionGroupTable;
    }


    public void setSubscriptionGroupTable(
            ConcurrentHashMap subscriptionGroupTable) {
        this.subscriptionGroupTable = subscriptionGroupTable;
    }


    public DataVersion getDataVersion() {
        return dataVersion;
    }


    public void setDataVersion(DataVersion dataVersion) {
        this.dataVersion = dataVersion;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy