|
Oracle® Universal Connection Pool for JDBC Java API Reference 11g Release 2 (11.2) E12826-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UniversalConnectionPoolStatistics
Various runtime statistics for the Universal Connection Pool. This interface provides query-only operations on all available pool statistics. <p/> The cumulative statistics are collected across multiple pool start/stop cycles, while the others only apply to the current running connection pool instance.
UniversalConnectionPool
Method Summary | |
---|---|
int |
getAbandonedConnectionsCount() Gets the number of abandoned connections that have been reclaimed. |
int |
getAvailableConnectionsCount() Gets the number of connections that are available in the connection pool (that is, connections in the pool that are not currently in use by clients). |
int |
getAverageBorrowedConnectionsCount() Gets the average number of connections that are borrowed and actively in use by clients. |
long |
getAverageConnectionWaitTime() Gets the average time (in milliseconds) a user thread has to wait before it could obtain a connection from the connection pool. |
int |
getBorrowedConnectionsCount() Gets the number of connections that are actively in use by clients. |
int |
getConnectionsClosedCount() Gets the number of connections closed by this connection pool. |
int |
getConnectionsCreatedCount() Gets the number of connections created for this connection pool. |
long |
getCumulativeConnectionBorrowedCount() Gets the number of connections borrowed from the connection pool over the life of the pool. |
long |
getCumulativeConnectionReturnedCount() Gets the number of connections returned to the connection pool over the life of the pool. |
long |
getCumulativeConnectionUseTime() Gets the cumulative time (in milliseconds) of connections that were borrowed from the pool and remained in use. |
long |
getCumulativeConnectionWaitTime() Gets the cumulative time (in milliseconds) that connection requests have waited for connections over the life of the connection pool. |
long |
getCumulativeFailedConnectionWaitCount() Gets the number of connection requests that waited unsuccessfully to borrow a connection from the pool. |
long |
getCumulativeFailedConnectionWaitTime() Gets the cumulative time (in milliseconds) that connection requests waited but failed to borrow a connection from the pool. |
long |
getCumulativeSuccessfulConnectionWaitCount() Gets the number of connection requests that waited successfully and borrowed a connection from the pool. |
long |
getCumulativeSuccessfulConnectionWaitTime() Gets the cumulative time (in milliseconds) that connection requests waited successfully and borrowed a connection from the pool. |
int |
getLabeledConnectionsCount() Gets the number of labeled connections in the connection pool. |
int |
getPeakConnectionsCount() Gets the maximum number of connections that the connection pool has reached during the life of the pool. |
long |
getPeakConnectionWaitTime() Gets the longest wait (in milliseconds) a user request has to incur before obtaining a connection from the connection pool. |
int |
getPendingRequestsCount() Gets the number of clients that are currently waiting to obtain a connection from the pool. |
int |
getRemainingPoolCapacityCount() Gets the number of connections that may be added to the pool before it reaches maxPoolSize . |
int |
getTotalConnectionsCount() Gets the total number of connections (both available and borrowed) in the connection pool. |
Method Detail |
---|
int getTotalConnectionsCount()
int getAvailableConnectionsCount()
int getBorrowedConnectionsCount()
int getAverageBorrowedConnectionsCount()
int getPeakConnectionsCount()
int getRemainingPoolCapacityCount()
maxPoolSize
.maxPoolSize
.int getLabeledConnectionsCount()
int getConnectionsCreatedCount()
int getConnectionsClosedCount()
long getAverageConnectionWaitTime()
long getPeakConnectionWaitTime()
int getAbandonedConnectionsCount()
int getPendingRequestsCount()
long getCumulativeConnectionWaitTime()
long getCumulativeConnectionBorrowedCount()
long getCumulativeConnectionUseTime()
long getCumulativeConnectionReturnedCount()
long getCumulativeSuccessfulConnectionWaitTime()
long getCumulativeSuccessfulConnectionWaitCount()
long getCumulativeFailedConnectionWaitTime()
long getCumulativeFailedConnectionWaitCount()
|
Oracle® Universal Connection Pool for JDBC Java API Reference 11g Release 2 (11.2) E12826-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |