Package org.glassfish.j2ee.statistics
Interface JCAConnectionPoolStats
-
- All Superinterfaces:
JCAConnectionStats,Stats
public interface JCAConnectionPoolStats extends JCAConnectionStats
Specifies the statistics provided by a JCA Connection Pool
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CountStatisticgetCloseCount()The number of connections closedCountStatisticgetCreateCount()The number of connections createdBoundedRangeStatisticgetFreePoolSize()The number of free connections in the poolBoundedRangeStatisticgetPoolSize()The size of the connection poolRangeStatisticgetWaitingThreadCount()The number of threads waiting for a connection-
Methods inherited from interface org.glassfish.j2ee.statistics.JCAConnectionStats
getConnectionFactory, getManagedConnectionFactory, getUseTime, getWaitTime
-
Methods inherited from interface org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
-
-
-
-
Method Detail
-
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
-
-