perfsonar-dev - perfsonar: r2362 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlType/fetch
Subject: perfsonar development work
List archive
perfsonar: r2362 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlType/fetch
Chronological Thread
- From:
- To:
- Subject: perfsonar: r2362 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlType/fetch
- Date: Thu, 26 Apr 2007 07:12:23 -0400
Author: roman
Date: 2007-04-26 07:12:21 -0400 (Thu, 26 Apr 2007)
New Revision: 2362
Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlType/fetch/UtilizationResponseGenerator.java
Log:
now there will be time type attribute in datum element in the response
(utilization data) from SQL MA
Modified:
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlType/fetch/UtilizationResponseGenerator.java
===================================================================
---
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlType/fetch/UtilizationResponseGenerator.java
2007-04-26 10:43:07 UTC (rev 2361)
+++
trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlType/fetch/UtilizationResponseGenerator.java
2007-04-26 11:12:21 UTC (rev 2362)
@@ -74,9 +74,14 @@
if (strValue != null) {
- if (column.equals("value")) datum.setValue(strValue);
- else if (column.equals("valueUnits"))
datum.setValueUnits(strValue);
- else if (column.equals("timeValue"))
datum.setTimeValue(strValue);
+ if (column.equals("value"))
+ datum.setValue(strValue);
+ else if (column.equals("valueUnits"))
+ datum.setValueUnits(strValue);
+ else if (column.equals("timeValue")) {
+ datum.setTimeValue(strValue);
+ datum.setTimeType("unix");
+ }
//logger.debug("SQLStorageManager.fetch: "
// + "column: " + column + ", value: " + strValue );
- perfsonar: r2362 - trunk/perfsonar/src/org/perfsonar/service/measurementArchive/sqlType/fetch, svnlog, 04/26/2007
Archive powered by MHonArc 2.6.16.