微调
This commit is contained in:
@@ -1,28 +0,0 @@
|
|||||||
package com.njcn.influx.pojo;
|
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
||||||
import com.njcn.common.utils.serializer.InstantDateSerializer;
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
import java.time.Instant;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 用来收集统计结果,比如max min mean cp95等函数
|
|
||||||
* @author hongawen
|
|
||||||
* @version 1.0.0
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
public class StatisticsResult implements Serializable {
|
|
||||||
|
|
||||||
@JsonSerialize(using = InstantDateSerializer.class)
|
|
||||||
private Instant time;
|
|
||||||
|
|
||||||
/***
|
|
||||||
* 统计值
|
|
||||||
*/
|
|
||||||
private Double value;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user