@JsonCreator
public ServiceMetrics(@JsonProperty("name") String name,
@JsonProperty("application") String application,
@JsonProperty("successCount") int successCount,
@JsonProperty("faultCount") int faultCount,
@JsonProperty("totalCount") int totalCount,
@JsonProperty("averageTime") double averageTime,
@JsonProperty("minTime") long minTime,
@JsonProperty("maxTime") long maxTime,
@JsonProperty("totalTime") long totalTime,
@JsonProperty("operations") OperationMetrics[] operations,
@JsonProperty("gateways") GatewayMetrics[] gateways) {
super(successCount, faultCount, totalCount, averageTime, minTime, maxTime, totalTime);
this.name = name;
this.application = application;
this.operationMetrics = ModelUtil.createNamedMetricMap(operations);
this.gatewayMetrics = ModelUtil.createNamedMetricMap(gateways);
}
ServiceMetrics.java 文件源码
java
阅读 14
收藏 0
点赞 0
评论 0
项目:switchyard
作者:
评论列表
文章目录