Interface ConnectionPoolStats
- All Superinterfaces:
Stats
- All Known Subinterfaces:
ConnectionFactoryStats,ConnectorConnectionPoolStats,JDBCConnectionPoolStats
A Stats interface to represent the statistical data exposed by a Connection
Pool. All the Connection Pool implementations should expose statistical data
by implementing this interface.
-
Method Summary
Modifier and TypeMethodDescriptionIndicates the average wait time of connections, for successful connection request attempts to the connector connection poolIndicates the longest, shortest wait times of connection requests.indicates the number of logical EIS/JDBC connections that were acquired from the pool, since the last resetindicates the number of physical EIS/JDBC connections that were created, since the last resetindicates the number of physical EIS/JDBC connections that were destroyed , since the last resetrepresents the number of connections that failed validationIndicates the number of free connections in the pool in addition to their high and low watermarks.Indicates the number of connections that were rejected by the Managed Connection Factory during matching.indicates the number of logical EIS/JDBC connections that were released to the pool, since the last resetIndicates the number of connections that were successfully matched by the Managed Connection Factory.represents the number of connection requests that timed outStatistic to represent the Connection Usage In addition to information about the number of connections being used currently, this also contains information about the Maximum number of connections that were used(High Watermark)Indicates the number of potential connection leaksIndicates the number of connection requests in the queue waiting to be servicedMethods inherited from interface org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
-
Method Details
-
getNumConnUsed
RangeStatistic getNumConnUsed()Statistic to represent the Connection Usage In addition to information about the number of connections being used currently, this also contains information about the Maximum number of connections that were used(High Watermark)- Returns:
- RangeStatistic
-
getNumConnFailedValidation
CountStatistic getNumConnFailedValidation()represents the number of connections that failed validation- Returns:
- CountStatistic
-
getNumConnTimedOut
CountStatistic getNumConnTimedOut()represents the number of connection requests that timed out- Returns:
- CountStatistic
-
getNumConnFree
RangeStatistic getNumConnFree()Indicates the number of free connections in the pool in addition to their high and low watermarks.- Returns:
- RangeStatistic
-
getAverageConnWaitTime
CountStatistic getAverageConnWaitTime()Indicates the average wait time of connections, for successful connection request attempts to the connector connection pool- Returns:
- CountStatistic
-
getWaitQueueLength
CountStatistic getWaitQueueLength()Indicates the number of connection requests in the queue waiting to be serviced- Returns:
- CountStatistic
-
getConnRequestWaitTime
RangeStatistic getConnRequestWaitTime()Indicates the longest, shortest wait times of connection requests. The current value indicates the wait time of the last request that was serviced by the pool.- Returns:
- RangeStatistic
-
getNumConnCreated
CountStatistic getNumConnCreated()indicates the number of physical EIS/JDBC connections that were created, since the last reset- Returns:
- CountStatistic
-
getNumConnDestroyed
CountStatistic getNumConnDestroyed()indicates the number of physical EIS/JDBC connections that were destroyed , since the last reset- Returns:
- CountStatistic
-
getNumConnAcquired
CountStatistic getNumConnAcquired()indicates the number of logical EIS/JDBC connections that were acquired from the pool, since the last reset- Returns:
- CountStatistic
- Since:
- 8.1
-
getNumConnReleased
CountStatistic getNumConnReleased()indicates the number of logical EIS/JDBC connections that were released to the pool, since the last reset- Returns:
- CountStatistic
- Since:
- 8.1
-
getNumConnSuccessfullyMatched
CountStatistic getNumConnSuccessfullyMatched()Indicates the number of connections that were successfully matched by the Managed Connection Factory.- Returns:
- CountStatistic
- Since:
- 9.0
-
getNumConnNotSuccessfullyMatched
CountStatistic getNumConnNotSuccessfullyMatched()Indicates the number of connections that were rejected by the Managed Connection Factory during matching.- Returns:
- CountStatistic
- Since:
- 9.0
-
getNumPotentialConnLeak
CountStatistic getNumPotentialConnLeak()Indicates the number of potential connection leaks- Returns:
- CountStatistic
- Since:
- 9.1
-