类 Cluster
java.lang.Object
com.alibaba.nacos.api.naming.pojo.Cluster
- 所有已实现的接口:
Serializable
Cluster.
The class will be serialized to json, and there are some variables and method can't use Camel naming rule for compatibility
- 作者:
- nkorange
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明private intDefault health check port of instances in this cluster.private intDefault registered port for instances in this cluster.private AbstractHealthCheckerHealth check config of this cluster.private StringName of cluster.private static final longprivate StringName of belonging service.private booleanWhether or not use instance port to do health check. -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明intintgetName()booleanvoidsetDefaultCheckPort(int defaultCheckPort) voidsetDefaultPort(int defaultPort) voidsetHealthChecker(AbstractHealthChecker healthChecker) voidsetMetadata(Map<String, String> metadata) voidvoidsetServiceName(String serviceName) voidsetUseIpPort4Check(boolean useIpPort4Check)
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID- 另请参阅:
-
serviceName
Name of belonging service. -
name
Name of cluster. -
healthChecker
Health check config of this cluster. -
defaultPort
private int defaultPortDefault registered port for instances in this cluster. -
defaultCheckPort
private int defaultCheckPortDefault health check port of instances in this cluster. -
useIpPort4Check
private boolean useIpPort4CheckWhether or not use instance port to do health check. -
metadata
-
-
构造器详细资料
-
Cluster
public Cluster() -
Cluster
-
-
方法详细资料
-
getServiceName
-
setServiceName
-
getName
-
setName
-
getHealthChecker
-
setHealthChecker
-
getDefaultPort
public int getDefaultPort() -
setDefaultPort
public void setDefaultPort(int defaultPort) -
getDefaultCheckPort
public int getDefaultCheckPort() -
setDefaultCheckPort
public void setDefaultCheckPort(int defaultCheckPort) -
isUseIpPort4Check
public boolean isUseIpPort4Check() -
setUseIpPort4Check
public void setUseIpPort4Check(boolean useIpPort4Check) -
getMetadata
-
setMetadata
-