javax.management.j2ee.statistics

## Interface JDBCConnectionStats

- All Superinterfaces:
    Stats
  All Known Subinterfaces:
    JDBCConnectionPoolStats

      public interface JDBCConnectionStats
      extends Stats

  Specifies the statistics provided by all (pooled and non-pooled) JDBC connections.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getJdbcDataSource()` Identifies the JDBC driver for the corresponding JDBCConnection.
    `TimeStatistic` | `getUseTime()` Time spent using a connection.
    `TimeStatistic` | `getWaitTime()` Time spent waiting for a connection to be available.

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

      `getStatistic, getStatisticNames, getStatistics`

- - ### Method Detail

    - #### getJdbcDataSource

          String getJdbcDataSource()

      Identifies the JDBC driver for the corresponding JDBCConnection.

    - #### getWaitTime

          TimeStatistic getWaitTime()

      Time spent waiting for a connection to be available.

    - #### getUseTime

          TimeStatistic getUseTime()

      Time spent using a connection.

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