geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ammul...@apache.org
Subject svn commit: r278610 - in /geronimo/trunk: etc/ modules/management/src/java/org/apache/geronimo/management/stats/ specs/j2ee-management/src/java/javax/management/j2ee/statistics/
Date Sun, 04 Sep 2005 16:36:17 GMT
Author: ammulder
Date: Sun Sep  4 09:36:12 2005
New Revision: 278610

URL: http://svn.apache.org/viewcvs?rev=278610&view=rev
Log:
Move JSR-77 unit definitions

Modified:
    geronimo/trunk/etc/project.properties
    geronimo/trunk/modules/management/src/java/org/apache/geronimo/management/stats/JVMStatsImpl.java
    geronimo/trunk/modules/management/src/java/org/apache/geronimo/management/stats/StatisticImpl.java
    geronimo/trunk/specs/j2ee-management/src/java/javax/management/j2ee/statistics/Statistic.java

Modified: geronimo/trunk/etc/project.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/etc/project.properties?rev=278610&r1=278609&r2=278610&view=diff
==============================================================================
--- geronimo/trunk/etc/project.properties (original)
+++ geronimo/trunk/etc/project.properties Sun Sep  4 09:36:12 2005
@@ -93,7 +93,7 @@
 geronimo_spec_j2ee_connector_version=1.5-rc4
 geronimo_spec_j2ee_deployment_version=1.1-rc4
 geronimo_spec_j2ee_jacc_version=1.0-rc5-SNAPSHOT
-geronimo_spec_j2ee_management_version=1.0-rc5
+geronimo_spec_j2ee_management_version=1.0-rc4
 geronimo_spec_javamail_version=1.3.1-rc6-SNAPSHOT
 geronimo_spec_jaxr_version=1.0-rc4
 geronimo_spec_jaxrpc_version=1.1-rc4

Modified: geronimo/trunk/modules/management/src/java/org/apache/geronimo/management/stats/JVMStatsImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/management/src/java/org/apache/geronimo/management/stats/JVMStatsImpl.java?rev=278610&r1=278609&r2=278610&view=diff
==============================================================================
--- geronimo/trunk/modules/management/src/java/org/apache/geronimo/management/stats/JVMStatsImpl.java
(original)
+++ geronimo/trunk/modules/management/src/java/org/apache/geronimo/management/stats/JVMStatsImpl.java
Sun Sep  4 09:36:12 2005
@@ -19,7 +19,6 @@
 import javax.management.j2ee.statistics.JVMStats;
 import javax.management.j2ee.statistics.CountStatistic;
 import javax.management.j2ee.statistics.BoundedRangeStatistic;
-import javax.management.j2ee.statistics.Statistic;
 
 /**
  * Geronimo implementation of the JSR-77 JVMStats interface.
@@ -31,7 +30,7 @@
     private final BoundedRangeImpl heapSize;
 
     public JVMStatsImpl() {
-        upTime = new CountStatisticImpl("JVM Up Time", Statistic.UNIT_TIME_MILLISECOND,
+        upTime = new CountStatisticImpl("JVM Up Time", StatisticImpl.UNIT_TIME_MILLISECOND,
                 "The length of time that the JVM has been running", 0);
         heapSize = new BoundedRangeImpl("JVM Heap Size", StatisticImpl.UNIT_MEMORY_BYTES,
                 "The memory usage of the JVM");

Modified: geronimo/trunk/modules/management/src/java/org/apache/geronimo/management/stats/StatisticImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/management/src/java/org/apache/geronimo/management/stats/StatisticImpl.java?rev=278610&r1=278609&r2=278610&view=diff
==============================================================================
--- geronimo/trunk/modules/management/src/java/org/apache/geronimo/management/stats/StatisticImpl.java
(original)
+++ geronimo/trunk/modules/management/src/java/org/apache/geronimo/management/stats/StatisticImpl.java
Sun Sep  4 09:36:12 2005
@@ -25,6 +25,13 @@
  * @version $Rev: 46019 $ $Date: 2004-09-14 05:56:06 -0400 (Tue, 14 Sep 2004) $
  */
 public class StatisticImpl implements Statistic, Serializable {
+    // Defined in JSR77.6.4.1.2
+    public final static String UNIT_TIME_HOUR = "HOUR";
+    public final static String UNIT_TIME_MINUTE = "MINUTE";
+    public final static String UNIT_TIME_SECOND = "SECOND";
+    public final static String UNIT_TIME_MILLISECOND = "MILLISECOND";
+    public final static String UNIT_TIME_MICROSECOND = "MICROSECOND";
+    public final static String UNIT_TIME_NANOSECOND = "NANOSECOND";
     // Units that are not defined in JSR-77
     public final static String UNIT_MEMORY_BYTES = "BYTES";
     public final static String UNIT_MEMORY_KILOBYTES = "KILOBYTES";

Modified: geronimo/trunk/specs/j2ee-management/src/java/javax/management/j2ee/statistics/Statistic.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/specs/j2ee-management/src/java/javax/management/j2ee/statistics/Statistic.java?rev=278610&r1=278609&r2=278610&view=diff
==============================================================================
--- geronimo/trunk/specs/j2ee-management/src/java/javax/management/j2ee/statistics/Statistic.java
(original)
+++ geronimo/trunk/specs/j2ee-management/src/java/javax/management/j2ee/statistics/Statistic.java
Sun Sep  4 09:36:12 2005
@@ -30,14 +30,6 @@
  * @version $Rev$
  */
 public interface Statistic {
-    // Defined in JSR77.6.4.1.2
-    public final static String UNIT_TIME_HOUR = "HOUR";
-    public final static String UNIT_TIME_MINUTE = "MINUTE";
-    public final static String UNIT_TIME_SECOND = "SECOND";
-    public final static String UNIT_TIME_MILLISECOND = "MILLISECOND";
-    public final static String UNIT_TIME_MICROSECOND = "MICROSECOND";
-    public final static String UNIT_TIME_NANOSECOND = "NANOSECOND";
-
     public String getName();
 
     public String getUnit();



Mime
View raw message