com.github.andyshao.distribution.group.MemberNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Gear Show documentation
Show all versions of Gear Show documentation
Enhance and formating the coding of JDK
The newest version!
package com.github.andyshao.distribution.group;
import com.github.andyshao.lang.number.ByteSize;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import java.io.Serial;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
/**
*
* Title:
* Descript:
* Copyright: Copryright(c) Mar 27, 2018
* Encoding: UNIX UTF-8
* @author andy.shao
*
*/
@Getter
@Setter
@EqualsAndHashCode(onlyExplicitlyIncluded = true)
public class MemberNode implements Serializable {
@Serial
private static final long serialVersionUID = 3307546608951426261L;
/**name*/
@EqualsAndHashCode.Include
private String name;
/**host*/
@EqualsAndHashCode.Include
private String host;
/**port number*/
@EqualsAndHashCode.Include
private int port;
/**memory size*/
private ByteSize memory;
/**cpu number*/
private int cpuNum;
/**pros*/
private Map pros = new HashMap<>();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy