|
@@ -134,16 +134,11 @@ public class DBVal implements Serializable {
|
|
}
|
|
}
|
|
|
|
|
|
public String toString() {
|
|
public String toString() {
|
|
- try {
|
|
|
|
- return String.format("[metricName:%s tags:%s utcTime:%d(ms) date:%s value:%f valueStatus:%s]\n",
|
|
|
|
- this.getMetricName(), this.getTags(), this.utcTime,
|
|
|
|
- Util.uTCMilliSecondsToDateStringWithMs(this.utcTime),
|
|
|
|
- this.value,
|
|
|
|
- this.valueStatus.toString());
|
|
|
|
- } catch (ParseException e) {
|
|
|
|
- e.printStackTrace();
|
|
|
|
- return "";
|
|
|
|
- }
|
|
|
|
|
|
+ return String.format("[metricName:%s tags:%s utcTime:%d(ms) date:%s value:%f valueStatus:%s]\n",
|
|
|
|
+ this.getMetricName(), this.getTags(), this.utcTime,
|
|
|
|
+ Util.uTCMilliSecondsToDateStringWithMs(this.utcTime),
|
|
|
|
+ this.value,
|
|
|
|
+ this.valueStatus.toString());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|