From 11cd507fde0027a93bb6f28875163f2b23e7f94a Mon Sep 17 00:00:00 2001 From: "koo.taejin" Date: Tue, 23 Feb 2016 11:09:47 +0900 Subject: [PATCH] Add method, that get scatter data made of dot group . #1518 --- .../com/navercorp/pinpoint/web/scatter/ScatterData.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/src/main/java/com/navercorp/pinpoint/web/scatter/ScatterData.java b/web/src/main/java/com/navercorp/pinpoint/web/scatter/ScatterData.java index 17775b824f66..b7f9909c1315 100644 --- a/web/src/main/java/com/navercorp/pinpoint/web/scatter/ScatterData.java +++ b/web/src/main/java/com/navercorp/pinpoint/web/scatter/ScatterData.java @@ -136,10 +136,16 @@ public Map getSortedScatterDataMap() { public long getOldestAcceptedTime() { + if (oldestAcceptedTime == Long.MAX_VALUE) { + return -1; + } return oldestAcceptedTime; } public long getLatestAcceptedTime() { + if (latestAcceptedTime == Long.MIN_VALUE) { + return -1; + } return latestAcceptedTime; }