/**
* @param port int
* @param hostname String
* @param zone the zone of the server
* @param useTls boolean
*/
@JsonCreator
public HostMetadata(@JsonProperty("hostname") String hostname,
@JsonProperty("port") int port, @JsonProperty("zone") String zone, @JsonProperty("useTls") boolean useTls) {
this.port = port;
this.hostname = hostname;
this.zone = zone;
this.useTls = useTls;
}
HostMetadata.java 文件源码
java
阅读 14
收藏 0
点赞 0
评论 0
项目:ibole-microservice
作者:
评论列表
文章目录