Overview | Package | Class | Tree | Deprecated | Index | Help
| J2EE1.4 SDK
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`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

    public CountStatistic getCreateCount()

  Number of connections created.

### getCloseCount

    public CountStatistic getCloseCount()

  Number of connections closed.

### getPoolSize

    public BoundedRangeStatistic getPoolSize()

  Size of the connection pool.

### getFreePoolSize

    public BoundedRangeStatistic getFreePoolSize()

  Number of free connections in the pool.

### getWaitingThreadCount

    public RangeStatistic getWaitingThreadCount()

  Number of threads waiting for a connection.

Overview | Package | Class | Tree | Deprecated | Index | Help
| J2EE1.4 SDK
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.