javax.management.j2ee.statistics

## Interface JDBCConnectionPoolStats

- All Superinterfaces:
    JDBCConnectionStats, Stats

      public interface JDBCConnectionPoolStats
      extends JDBCConnectionStats

  Specifies the statistics provided by a JDBC connection pool.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `CountStatistic` | `getCloseCount()` Number of connections closed.
    `CountStatistic` | `getCreateCount()` Number of connections created.
    `BoundedRangeStatistic` | `getFreePoolSize()` Number of free connections in the pool.
    `BoundedRangeStatistic` | `getPoolSize()` Size of the connection pool.
    `RangeStatistic` | `getWaitingThreadCount()` Number of threads waiting for a connection.

    - ### Methods inherited from interface javax.management.j2ee.statistics.JDBCConnectionStats

      `getJdbcDataSource, getUseTime, getWaitTime`

    - ### Methods inherited from interface javax.management.j2ee.statistics.Stats

      `getStatistic, getStatisticNames, getStatistics`

- - ### Method Detail

    - #### getCreateCount

          CountStatistic getCreateCount()

      Number of connections created.

    - #### getCloseCount

          CountStatistic getCloseCount()

      Number of connections closed.

    - #### getPoolSize

          BoundedRangeStatistic getPoolSize()

      Size of the connection pool.

    - #### getFreePoolSize

          BoundedRangeStatistic getFreePoolSize()

      Number of free connections in the pool.

    - #### getWaitingThreadCount

          RangeStatistic getWaitingThreadCount()

      Number of threads waiting for a connection.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.