From d432ecfda6035d8ef742a0c4e2f2fe110c52ed92 Mon Sep 17 00:00:00 2001 From: Woonduk Kang Date: Thu, 20 Feb 2014 06:30:02 +0000 Subject: [PATCH] =?UTF-8?q?[=EA=B0=95=EC=9A=B4=EB=8D=95]=20[WEB-49]=20?= =?UTF-8?q?=EB=A9=94=EB=AA=A8=EB=A6=AC=20=ED=95=A0=EB=8B=B9=EC=9D=84=20?= =?UTF-8?q?=EB=8D=9C=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=A0=95=EB=A6=AC?= 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@3366 84d0f5b1-2673-498c-a247-62c4ff18d310 --- .../util/ApplicationStatisticsUtils.java | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/src/main/java/com/nhn/pinpoint/common/util/ApplicationStatisticsUtils.java b/src/main/java/com/nhn/pinpoint/common/util/ApplicationStatisticsUtils.java index 8e56bd62e..e0d593beb 100644 --- a/src/main/java/com/nhn/pinpoint/common/util/ApplicationStatisticsUtils.java +++ b/src/main/java/com/nhn/pinpoint/common/util/ApplicationStatisticsUtils.java @@ -17,29 +17,6 @@ import com.nhn.pinpoint.common.hbase.HBaseTables; */ public class ApplicationStatisticsUtils { - public static byte[] makeColumnName(String agentId, short slotNumber) { - if (agentId == null) { - agentId = ""; - } - byte[] slotNumberBytes = Bytes.toBytes(slotNumber); - byte[] agentIdBytes = Bytes.toBytes(agentId); - - return BytesUtils.concat(slotNumberBytes, agentIdBytes); - } - - - /** - *
-	 * rowkey format = "APPLICATIONNAME(max 24bytes)" + apptype(2byte) + "TIMESTAMP(8byte)"
-	 * 
- * - * @param applicationName - * @param timestamp - * @return - */ - public static byte[] makeRowKey(String applicationName, short applicationType, long timestamp) { - return ApplicationMapStatisticsUtils.makeRowKey(applicationName, applicationType, timestamp); - } public static String getApplicationNameFromRowKey(byte[] bytes) { return ApplicationMapStatisticsUtils.getApplicationNameFromRowKey(bytes);