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

com.alibaba.csp.ahas.sentinel.cluster.entity.ClusterGroupEntity Maven / Gradle / Ivy

There is a newer version: 1.11.6
Show newest version
package com.alibaba.csp.ahas.sentinel.cluster.entity;

import java.util.Set;

/**
 * @author Eric Zhao
 */
public class ClusterGroupEntity {

    private String serverId;
    private String ip;
    private Integer port;
    private Set clientSet;

    public String getServerId() {
        return serverId;
    }

    public ClusterGroupEntity setServerId(String serverId) {
        this.serverId = serverId;
        return this;
    }

    public String getIp() {
        return ip;
    }

    public ClusterGroupEntity setIp(String ip) {
        this.ip = ip;
        return this;
    }

    public Integer getPort() {
        return port;
    }

    public ClusterGroupEntity setPort(Integer port) {
        this.port = port;
        return this;
    }

    public Set getClientSet() {
        return clientSet;
    }

    public ClusterGroupEntity setClientSet(Set clientSet) {
        this.clientSet = clientSet;
        return this;
    }

    @Override
    public String toString() {
        return "ClusterGroupEntity{" +
            "serverId='" + serverId + '\'' +
            ", ip='" + ip + '\'' +
            ", port=" + port +
            ", clientSet=" + clientSet +
            '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy