Class UniversalConnectionPoolManagerImpl

  • All Implemented Interfaces:
    UniversalConnectionPoolManager, Diagnosable

    public class UniversalConnectionPoolManagerImpl
    extends oracle.ucp.admin.UniversalConnectionPoolManagerBase
    The UniversalConnectionPoolManagerImpl class is the implementation class for the pool manager. This is a singleton class and only one instance exists in a JVM.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class oracle.ucp.admin.UniversalConnectionPoolManagerBase

        oracle.ucp.admin.UniversalConnectionPoolManagerBase.UCPMetric
    • Method Detail

      • getUniversalConnectionPoolManager

        public static UniversalConnectionPoolManager getUniversalConnectionPoolManager()
                                                                                throws UniversalConnectionPoolException
        Returns the static Universal Connection Pool Manager instance. If necessary, a new instance is created and returned to the caller. This is a singleton object and there is only one UniversalConnectionPoolManagerImpl in a JVM.
        Returns:
        The UniversalConnectionPoolManager object.
        Throws:
        UniversalConnectionPoolException - If an error occurs while getting the UniversalConnectionPoolManager object.
      • getUniversalConnectionPoolManager

        public static UniversalConnectionPoolManager getUniversalConnectionPoolManager​(Diagnosable diagnosticsCollector)
                                                                                throws UniversalConnectionPoolException
        Returns the static Universal Connection Pool Manager instance. If necessary, a new instance is created and returned to the caller. This is a singleton object and there is only one UniversalConnectionPoolManagerImpl in a JVM.
        Parameters:
        diagnosticsCollector - object for diagnostics collection
        Returns:
        The UniversalConnectionPoolManager object.
        Throws:
        UniversalConnectionPoolException - If an error occurs while getting the UniversalConnectionPoolManager object.