Home » openjdk-7 » javax » management » j2ee » [javadoc | source]

    1   package javax.management.j2ee;
    2   
    3   /**
    4    * Represents the statistics provided by a JDBC connection pool
    5    *
    6    * @author <a href="mailto:marc@jboss.org">Marc Fleury</a>
    7    * @author <a href="mailto:andreas@jboss.org">Andreas Schaefer</a>
    8    * @version $Revision: 1.1 $
    9    *   
   10    * <p><b>Revisions:</b>
   11    *
   12    * <p><b>200112009 Andreas Schaefer:</b>
   13    * <ul>
   14    * <li> Adjustment to the new JBoss guide lines and also adjustments
   15    *      to the latest JSR-77 specification
   16    * </ul>
   17    **/
   18   public interface JDBCConnectionPoolStats
   19      extends JDBCConnectionStats
   20   {
   21      // Constants -----------------------------------------------------
   22      
   23      // Public --------------------------------------------------------
   24      
   25      /**
   26      * @return The number of connections closed
   27      **/
   28      public CountStatistic getCloseCount();
   29   
   30      /**
   31      * @return The number of connections created
   32      **/
   33      public CountStatistic getCreateCount();
   34   
   35      /**
   36      * @return The number of free connections in the pool
   37      **/
   38      public BoundedRangeStatistic getFreePoolSize();
   39   
   40      /**
   41      * @return The size of the connection pool
   42      **/
   43      public BoundedRangeStatistic getPoolSize();
   44   
   45      /**
   46      * @return The number of threats waiting for a connection
   47      **/
   48      public RangeStatistic getWaitingThreadCount();
   49      
   50      // Package protected ---------------------------------------------
   51      
   52      // Protected -----------------------------------------------------
   53      
   54      // Static inner classes -------------------------------------------------
   55   }

Home » openjdk-7 » javax » management » j2ee » [javadoc | source]