Package oracle.ucp.jdbc.oracle
Interface OracleJDBCConnectionPoolStatistics
-
- All Superinterfaces:
JDBCConnectionPoolStatistics
,UniversalConnectionPoolStatistics
public interface OracleJDBCConnectionPoolStatistics extends JDBCConnectionPoolStatistics
Various runtime statistics for the Universal Connection Pool that are specific to Oracle JDBC resources. This interface provides query-only operations on all available pool statistics.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getConnectionRepurposeCount()
Returns the number of connection repurposed in a shared pool for a mutitenant database, where connections can be reused across PDB's by switching their container and PDB service.long
getFailedAffinityBasedBorrowCount()
Gets the number of borrow requests that returned connections not matching the affinity contexts.long
getFailedRCLBBasedBorrowCount()
Gets the number of borrow requests that failed to use Runtime Connection Load-Balancing (RCLB) algorithms.java.lang.String
getFCFProcessingInfo()
Gets the information of recent Fast Connection Failover (FCF) attempts, in the form of a String.java.lang.String
getFCFProcessingInfoProcessedOnly()
long
getSuccessfulAffinityBasedBorrowCount()
Gets the number of borrow requests that succeeded in matching affinity contexts.long
getSuccessfulRCLBBasedBorrowCount()
Gets the number of borrow requests that succeeded in using the Runtime Connection Load-Balancing (RCLB) algorithms.-
Methods inherited from interface oracle.ucp.UniversalConnectionPoolStatistics
getAbandonedConnectionsCount, getAvailableConnectionsCount, getAverageBorrowedConnectionsCount, getAverageConnectionWaitTime, getBorrowedConnectionsCount, getConnectionsClosedCount, getConnectionsCreatedCount, getCumulativeConnectionBorrowedCount, getCumulativeConnectionReturnedCount, getCumulativeConnectionUseTime, getCumulativeConnectionWaitTime, getCumulativeFailedConnectionWaitCount, getCumulativeFailedConnectionWaitTime, getCumulativeSuccessfulConnectionWaitCount, getCumulativeSuccessfulConnectionWaitTime, getLabeledConnectionsCount, getPeakConnectionsCount, getPeakConnectionWaitTime, getPendingRequestsCount, getRemainingPoolCapacityCount, getShardConnectionStats, getTotalConnectionsCount, shortForm
-
-
-
-
Method Detail
-
getSuccessfulAffinityBasedBorrowCount
long getSuccessfulAffinityBasedBorrowCount()
Gets the number of borrow requests that succeeded in matching affinity contexts.- Returns:
- The number of borrow requests that succeeded in matching affinity contexts.
-
getFailedAffinityBasedBorrowCount
long getFailedAffinityBasedBorrowCount()
Gets the number of borrow requests that returned connections not matching the affinity contexts.- Returns:
- The number of borrow requests that returned connections not matching the affinity contexts.
-
getSuccessfulRCLBBasedBorrowCount
long getSuccessfulRCLBBasedBorrowCount()
Gets the number of borrow requests that succeeded in using the Runtime Connection Load-Balancing (RCLB) algorithms.- Returns:
- The number of borrow requests that succeeded in using Runtime Connection Load-Balancing (RCLB) algorithms.
-
getFailedRCLBBasedBorrowCount
long getFailedRCLBBasedBorrowCount()
Gets the number of borrow requests that failed to use Runtime Connection Load-Balancing (RCLB) algorithms.- Returns:
- The number of borrow requests that failed to use Runtime Connection Load-Balancing (RCLB) algorithms.
-
getFCFProcessingInfo
java.lang.String getFCFProcessingInfo()
Gets the information of recent Fast Connection Failover (FCF) attempts, in the form of a String. The information returned is to help diagnosing FCF problems, and includes the outcome of each FCF attempt (successful or failed), the relevant Oracle RAC instances, the number of connections cleaned up, the exception that triggered the FCF attempt failure, and so forth.- Returns:
- The information string for recent FCF attempts.
-
getFCFProcessingInfoProcessedOnly
java.lang.String getFCFProcessingInfoProcessedOnly()
-
getConnectionRepurposeCount
long getConnectionRepurposeCount()
Returns the number of connection repurposed in a shared pool for a mutitenant database, where connections can be reused across PDB's by switching their container and PDB service.- Returns:
- repurpose count
-
-