com.ibm.websphere.pmi.stat

Interface WSJDBCConnectionPoolStats


  1. public interface WSJDBCConnectionPoolStats
WebSphere JDBC connection pool stats interface. JDBC connection pool stats are structured as follows in the PMI tree:

<server>
|
|__JDBC Connection Pools+
  |
  |__<JDBC provider 1>+
    |
    |_Data source A
  |   |__<JDBC provider 2>+
    |
    |_Data source B

+ indicates logical group

StatDescriptor is used to locate and access particular Stats in the PMI tree.
Example:

  1. StatDescriptor that represents the JDBC provider 1 logical group: new StatDescriptor (new String[] {WSJDBCConnectionPoolStats.NAME, "JDBC provider 1"});

Field Summary

Modifier and Type Field and Description
  1. static
  2. int
AllocateCount
Total number of connections allocated (CountStatistic).
  1. static
  2. int
CloseCount
Number of connections freed (CountStatistic).
  1. static
  2. int
ConnectionHandleCount
Number of Connection objects in use for a particular connection pool (CountStatistic).
  1. static
  2. int
CreateCount
Number of connections created (CountStatistic).
  1. static
  2. int
FaultCount
The number of connection timeouts in the pool.
  1. static
  2. int
FreedCount
Total number of connections returned to pool (CountStatistic).
  1. static
  2. int
FreePoolSize
The number of free connections in the pool (BoundedRangeStatistic).
  1. static
  2. int
JDBCTime
Amount of time in milliseconds spent executing in the JDBC driver (TimeStatistic).
  1. static
  2. int
ManagedConnectionCount
Number of ManagedConnection objects in use for a particular connection pool (CountStatistic).
  1. static
  2. java.lang.String
NAME
Stats name of the top level JDBC connection pool logical group in PMI tree.
  1. static
  2. int
PercentMaxed
Average percent of the time that all connections are in use (RangeStatistic).
  1. static
  2. int
PercentUsed
Average percent of the pool that is in use (RangeStatistic).
  1. static
  2. int
PoolSize
The size of connection pool (BoundedRangeStatistic).
  1. static
  2. int
PrepStmtCacheDiscardCount
Total number of statements discarded by the LRU algorithm of the prepared statement cache (CountStatistic).
  1. static
  2. int
UseTime
Average time a connection is used (TimeStatistic).
  1. static
  2. int
WaitingThreadCount
Number of threads that are currently waiting for a connection (RangeStatistic).
  1. static
  2. int
WaitTime
Average waiting time in milliseconds until a connection is granted (TimeStatistic).

Field Detail

NAME

  1. static final java.lang.String NAME
Stats name of the top level JDBC connection pool logical group in PMI tree.

<server>
|
|__JDBC Connection Pools+

See Also:

CreateCount

  1. static final int CreateCount
Number of connections created (CountStatistic).
See Also:

CloseCount

  1. static final int CloseCount
Number of connections freed (CountStatistic).
See Also:

AllocateCount

  1. static final int AllocateCount
Total number of connections allocated (CountStatistic).
See Also:

FreedCount

  1. static final int FreedCount
Total number of connections returned to pool (CountStatistic).
See Also:

PoolSize

  1. static final int PoolSize
The size of connection pool (BoundedRangeStatistic).
See Also:

FreePoolSize

  1. static final int FreePoolSize
The number of free connections in the pool (BoundedRangeStatistic).
See Also:

WaitingThreadCount

  1. static final int WaitingThreadCount
Number of threads that are currently waiting for a connection (RangeStatistic).
See Also:

FaultCount

  1. static final int FaultCount
The number of connection timeouts in the pool. (CountStatistic).
See Also:

PercentUsed

  1. static final int PercentUsed
Average percent of the pool that is in use (RangeStatistic).
See Also:

PercentMaxed

  1. static final int PercentMaxed
Average percent of the time that all connections are in use (RangeStatistic).
See Also:

UseTime

  1. static final int UseTime
Average time a connection is used (TimeStatistic). (Difference between the time at which the connection is allocated and returned. This includes the JDBC operation time.)
See Also:

WaitTime

  1. static final int WaitTime
Average waiting time in milliseconds until a connection is granted (TimeStatistic).
See Also:

ManagedConnectionCount

  1. static final int ManagedConnectionCount
Number of ManagedConnection objects in use for a particular connection pool (CountStatistic). (Applies to V5.0 data sources only)
See Also:

ConnectionHandleCount

  1. static final int ConnectionHandleCount
Number of Connection objects in use for a particular connection pool (CountStatistic). (Applies to V5.0 data sources only)
See Also:

PrepStmtCacheDiscardCount

  1. static final int PrepStmtCacheDiscardCount
Total number of statements discarded by the LRU algorithm of the prepared statement cache (CountStatistic).
See Also:

JDBCTime

  1. static final int JDBCTime
Amount of time in milliseconds spent executing in the JDBC driver (TimeStatistic). (includes time spent in JDBC driver, network, and database)
See Also: