[jboss-cvs] JBossAS SVN: r69814 - branches/Branch_4_2/connector/src/main/org/jboss/resource/connectionmanager.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Feb 13 04:45:17 EST 2008


Author: vicky.kak at jboss.com
Date: 2008-02-13 04:45:17 -0500 (Wed, 13 Feb 2008)
New Revision: 69814

Modified:
   branches/Branch_4_2/connector/src/main/org/jboss/resource/connectionmanager/JBossManagedConnectionPoolMBean.java
Log:
JBAS-5210 changes.

Modified: branches/Branch_4_2/connector/src/main/org/jboss/resource/connectionmanager/JBossManagedConnectionPoolMBean.java
===================================================================
--- branches/Branch_4_2/connector/src/main/org/jboss/resource/connectionmanager/JBossManagedConnectionPoolMBean.java	2008-02-13 09:44:12 UTC (rev 69813)
+++ branches/Branch_4_2/connector/src/main/org/jboss/resource/connectionmanager/JBossManagedConnectionPoolMBean.java	2008-02-13 09:45:17 UTC (rev 69814)
@@ -157,7 +157,45 @@
     */
   int getConnectionDestroyedCount() ;
   
+  /**
+   * Return raw statistics for all sub pools.
+   * 
+   * @return the statistics for all sub pools.
+   */
+  Object listStatistics();
   
+  /**
+   * Return statistics for all sub pools formatted for consumption.
+   * 
+   * @return the formatted statistics.
+   */
+  Object listFormattedSubPoolStatistics();
+  
+  /**
+   * Return statistics for all sub pools formatted using the specified class name.
+   * 
+   * @param formatter the class name of the formatter to use.
+   * 
+   * @return the formatted statistics.
+   */
+  Object listFormattedSubPoolStatistics(String formatter);
+  
+  /**
+   * Get the class name of the current statistics formatter
+   * 
+   * @return the name of the statistics formatter.
+   */
+  public String getStatisticsFormatter();
+  
+  /**
+   * Set the class name of the statistics formatter
+   * 
+   * @param the name of the statistics formatter to use. 
+   * 
+   */
+  public void setStatisticsFormatter(String formatter);
+  
+  
    /**
     * Get background validation
     * 




More information about the jboss-cvs-commits mailing list