geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r817469 - in /geronimo/server/trunk/plugins/monitoring: agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControl.java agent-jmx/src/main/java/org/apache/geronimo/monitoring/jmx/MasterRemoteControlJMX.java
Date Tue, 22 Sep 2009 01:28:09 GMT
Author: genspring
Date: Tue Sep 22 01:28:09 2009
New Revision: 817469

URL: http://svn.apache.org/viewvc?rev=817469&view=rev
Log:
GERONIMO-4886 Request Time Count attribute does not exist in connector mbean.

Modified:
    geronimo/server/trunk/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControl.java
    geronimo/server/trunk/plugins/monitoring/agent-jmx/src/main/java/org/apache/geronimo/monitoring/jmx/MasterRemoteControlJMX.java

Modified: geronimo/server/trunk/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControl.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControl.java?rev=817469&r1=817468&r2=817469&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControl.java
(original)
+++ geronimo/server/trunk/plugins/monitoring/agent-ejb/src/main/java/org/apache/geronimo/monitoring/MasterRemoteControl.java
Tue Sep 22 01:28:09 2009
@@ -115,11 +115,11 @@
                 Long current = new Long(((CountStatistic)aStat).getCount());
                 statsMap.put(stts[i].getName(), current);
             } else if(aStat instanceof TimeStatistic) {
-                Long count = new Long(((TimeStatistic)aStat).getCount());
+                Long current = new Long(((TimeStatistic)aStat).getCount());
                 Long max = new Long(((TimeStatistic)aStat).getMaxTime());
                 Long min = new Long(((TimeStatistic)aStat).getMinTime());
                 Long total = new Long(((TimeStatistic)aStat).getTotalTime());
-                statsMap.put(stts[i].getName() + " Count", count);
+                statsMap.put(stts[i].getName() + " CurrentTime", current);
                 statsMap.put(stts[i].getName() + " MaxTime", max);
                 statsMap.put(stts[i].getName() + " MinTime", min);
                 statsMap.put(stts[i].getName() + " TotalTime", total);
@@ -401,7 +401,7 @@
                     } else if(aStat instanceof CountStatistic) {
                         mbeanStatsList.add(stts[i].getName());
                     } else if(aStat instanceof TimeStatistic) {
-                        mbeanStatsList.add(stts[i].getName() + " Count");
+                        mbeanStatsList.add(stts[i].getName() + " CurrentTime");
                         mbeanStatsList.add(stts[i].getName() + " MaxTime");
                         mbeanStatsList.add(stts[i].getName() + " MinTime");
                         mbeanStatsList.add(stts[i].getName() + " TotalTime");

Modified: geronimo/server/trunk/plugins/monitoring/agent-jmx/src/main/java/org/apache/geronimo/monitoring/jmx/MasterRemoteControlJMX.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/monitoring/agent-jmx/src/main/java/org/apache/geronimo/monitoring/jmx/MasterRemoteControlJMX.java?rev=817469&r1=817468&r2=817469&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/monitoring/agent-jmx/src/main/java/org/apache/geronimo/monitoring/jmx/MasterRemoteControlJMX.java
(original)
+++ geronimo/server/trunk/plugins/monitoring/agent-jmx/src/main/java/org/apache/geronimo/monitoring/jmx/MasterRemoteControlJMX.java
Tue Sep 22 01:28:09 2009
@@ -394,7 +394,7 @@
                     } else if(aStat instanceof CountStatistic) {
                         mbeanStatsList.add(stts[i].getName());
                     } else if(aStat instanceof TimeStatistic) {
-                        mbeanStatsList.add(stts[i].getName() + " Count");
+                        mbeanStatsList.add(stts[i].getName() + " CurrentTime");
                         mbeanStatsList.add(stts[i].getName() + " MaxTime");
                         mbeanStatsList.add(stts[i].getName() + " MinTime");
                         mbeanStatsList.add(stts[i].getName() + " TotalTime");



Mime
View raw message