Package javax.management.j2ee.statistics
Interface JCAConnectionPoolStats
- All Superinterfaces:
JCAConnectionStats
,Stats
Specifies the statistics provided by a JCA Connection Pool
-
Method Summary
Modifier and TypeMethodDescriptionThe number of connections closedThe number of connections createdThe number of free connections in the poolThe size of the connection poolThe number of threads waiting for a connectionMethods inherited from interface javax.management.j2ee.statistics.JCAConnectionStats
getConnectionFactory, getManagedConnectionFactory, getUseTime, getWaitTime
Methods inherited from interface javax.management.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
-
Method Details
-
getCloseCount
CountStatistic getCloseCount()The number of connections closed- Returns:
- CountStatistic
-
getCreateCount
CountStatistic getCreateCount()The number of connections created- Returns:
- CountStatistic
-
getFreePoolSize
BoundedRangeStatistic getFreePoolSize()The number of free connections in the pool- Returns:
- BoundedRangeStatistic
-
getPoolSize
BoundedRangeStatistic getPoolSize()The size of the connection pool- Returns:
- BoundedRangeStatistic
-
getWaitingThreadCount
RangeStatistic getWaitingThreadCount()The number of threads waiting for a connection- Returns:
- BoundedRangeStatistic
-