@JsonCreator
public ComponentServiceMetrics(@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("references") ComponentReferenceMetrics[] references) {
super(successCount, faultCount, totalCount, averageTime, minTime, maxTime, totalTime);
this.name = name;
this.application = application;
this.operationMetrics = ModelUtil.createNamedMetricMap(operations);
this.componentReferenceMetrics = ModelUtil.createNamedMetricMap(references);
}
ComponentServiceMetrics.java 文件源码
java
阅读 15
收藏 0
点赞 0
评论 0
项目:switchyard
作者:
评论列表
文章目录