From 5b09ce2ca43bad1f09d2e30faebf2e38a47c1eb9 Mon Sep 17 00:00:00 2001 From: Woonduk Kang Date: Wed, 12 Jun 2013 10:20:25 +0000 Subject: [PATCH] =?UTF-8?q?[=EA=B0=95=EC=9A=B4=EB=8D=95]=20[LUCYSUS-1744]?= =?UTF-8?q?=20Metadata=EB=A5=BC=20=EC=B0=BE=EB=8A=94=20=EC=BD=94=EB=93=9C?= =?UTF-8?q?=20=EA=B0=9C=EC=84=A0.=20agentId=20+=20agentStart=20=ED=83=80?= =?UTF-8?q?=EC=9E=85=EC=9D=84=20=EA=B8=B0=EC=A4=80=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EC=9C=A0=EB=8B=88=ED=81=AC=ED=95=98=EA=B2=8C=20MetaData?= =?UTF-8?q?=EB=A5=BC=20=EC=A7=91=EC=96=B4=EC=98=A4=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EA=B0=9C=EC=84=A0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-commons/trunk@1871 84d0f5b1-2673-498c-a247-62c4ff18d310 --- .../com/nhn/pinpoint/common/bo/AgentInfoBo.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/nhn/pinpoint/common/bo/AgentInfoBo.java b/src/main/java/com/nhn/pinpoint/common/bo/AgentInfoBo.java index c50c95dc4..f6716d7da 100644 --- a/src/main/java/com/nhn/pinpoint/common/bo/AgentInfoBo.java +++ b/src/main/java/com/nhn/pinpoint/common/bo/AgentInfoBo.java @@ -15,7 +15,7 @@ public class AgentInfoBo { private String agentId; private String applicationName; private boolean isAlive; - private long timestamp; + private long startTime; private short identifier; public AgentInfoBo(AgentInfo agentInfo) { @@ -25,7 +25,7 @@ public class AgentInfoBo { this.agentId = agentInfo.getAgentId(); this.applicationName = agentInfo.getApplicationName(); this.isAlive = agentInfo.isIsAlive(); - this.timestamp = agentInfo.getTimestamp(); + this.startTime = agentInfo.getTimestamp(); this.identifier = agentInfo.getIdentifier(); } @@ -80,12 +80,12 @@ public class AgentInfoBo { isAlive = alive; } - public long getTimestamp() { - return timestamp; + public long getStartTime() { + return startTime; } - public void setTimestamp(long timestamp) { - this.timestamp = timestamp; + public void setStartTime(long startTime) { + this.startTime = startTime; } public short getIdentifier() { @@ -150,7 +150,7 @@ public class AgentInfoBo { sb.append("\t\"ip\" : \"").append(ip).append("\","); sb.append("\t\"ports\" : \"").append(ports).append("\","); sb.append("\t\"agentId\" : \"").append(agentId).append("\","); - sb.append("\t\"uptime\" : \"").append(timestamp).append("\""); + sb.append("\t\"uptime\" : \"").append(startTime).append("\""); sb.append("}"); return sb.toString(); @@ -165,7 +165,7 @@ public class AgentInfoBo { ", agentId='" + agentId + '\'' + ", applicationName='" + applicationName + '\'' + ", isAlive=" + isAlive + - ", timestamp=" + timestamp + + ", startTime=" + startTime + ", identifier=" + identifier + '}'; }