Interface C3P0PooledDataSourceMBean

    • Method Detail

      • setJndiName

        void setJndiName​(java.lang.String jndiName)
                  throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getJndiName

        java.lang.String getJndiName()
      • getDescription

        java.lang.String getDescription()
      • setDescription

        void setDescription​(java.lang.String description)
                     throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getDriverClass

        java.lang.String getDriverClass()
      • setDriverClass

        void setDriverClass​(java.lang.String driverClass)
                     throws java.beans.PropertyVetoException,
                            javax.naming.NamingException
        Throws:
        java.beans.PropertyVetoException
        javax.naming.NamingException
      • getJdbcUrl

        java.lang.String getJdbcUrl()
      • setJdbcUrl

        void setJdbcUrl​(java.lang.String jdbcUrl)
                 throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getUser

        java.lang.String getUser()
      • setUser

        void setUser​(java.lang.String user)
              throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getPassword

        java.lang.String getPassword()
      • setPassword

        void setPassword​(java.lang.String password)
                  throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getUnreturnedConnectionTimeout

        int getUnreturnedConnectionTimeout()
      • setUnreturnedConnectionTimeout

        void setUnreturnedConnectionTimeout​(int unreturnedConnectionTimeout)
                                     throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • isDebugUnreturnedConnectionStackTraces

        boolean isDebugUnreturnedConnectionStackTraces()
      • setDebugUnreturnedConnectionStackTraces

        void setDebugUnreturnedConnectionStackTraces​(boolean debugUnreturnedConnectionStackTraces)
                                              throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • isForceSynchronousCheckins

        boolean isForceSynchronousCheckins()
      • setForceSynchronousCheckins

        void setForceSynchronousCheckins​(boolean forceSynchronousCheckins)
                                  throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getConnectionCustomizerClassName

        java.lang.String getConnectionCustomizerClassName()
      • setConnectionCustomizerClassName

        void setConnectionCustomizerClassName​(java.lang.String connectionCustomizerClassName)
                                       throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getMaxConnectionAge

        int getMaxConnectionAge()
      • setMaxConnectionAge

        void setMaxConnectionAge​(int maxConnectionAge)
                          throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getMaxIdleTimeExcessConnections

        int getMaxIdleTimeExcessConnections()
      • setMaxIdleTimeExcessConnections

        void setMaxIdleTimeExcessConnections​(int maxIdleTimeExcessConnections)
                                      throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getMaxAdministrativeTaskTime

        int getMaxAdministrativeTaskTime()
      • setMaxAdministrativeTaskTime

        void setMaxAdministrativeTaskTime​(int maxAdministrativeTaskTime)
                                   throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getCheckoutTimeout

        int getCheckoutTimeout()
      • setCheckoutTimeout

        void setCheckoutTimeout​(int checkoutTimeout)
                         throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getConnectionIsValidTimeout

        int getConnectionIsValidTimeout()
      • setConnectionIsValidTimeout

        void setConnectionIsValidTimeout​(int connectionIsValidTimeout)
                                  throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getAcquireIncrement

        int getAcquireIncrement()
      • setAcquireIncrement

        void setAcquireIncrement​(int acquireIncrement)
                          throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getAcquireRetryAttempts

        int getAcquireRetryAttempts()
      • setAcquireRetryAttempts

        void setAcquireRetryAttempts​(int acquireRetryAttempts)
                              throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getAcquireRetryDelay

        int getAcquireRetryDelay()
      • setAcquireRetryDelay

        void setAcquireRetryDelay​(int acquireRetryDelay)
                           throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • isAutoCommitOnClose

        boolean isAutoCommitOnClose()
      • setAutoCommitOnClose

        void setAutoCommitOnClose​(boolean autoCommitOnClose)
                           throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getConnectionTesterClassName

        java.lang.String getConnectionTesterClassName()
      • setConnectionTesterClassName

        void setConnectionTesterClassName​(java.lang.String connectionTesterClassName)
                                   throws java.beans.PropertyVetoException,
                                          javax.naming.NamingException
        Throws:
        java.beans.PropertyVetoException
        javax.naming.NamingException
      • getTaskRunnerFactoryClassName

        java.lang.String getTaskRunnerFactoryClassName()
      • setTaskRunnerFactoryClassName

        void setTaskRunnerFactoryClassName​(java.lang.String taskRunnerFactoryClassName)
                                    throws java.beans.PropertyVetoException,
                                           javax.naming.NamingException
        Throws:
        java.beans.PropertyVetoException
        javax.naming.NamingException
      • getAutomaticTestTable

        java.lang.String getAutomaticTestTable()
      • setAutomaticTestTable

        void setAutomaticTestTable​(java.lang.String automaticTestTable)
                            throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • isForceIgnoreUnresolvedTransactions

        boolean isForceIgnoreUnresolvedTransactions()
      • setForceIgnoreUnresolvedTransactions

        void setForceIgnoreUnresolvedTransactions​(boolean forceIgnoreUnresolvedTransactions)
                                           throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getIdleConnectionTestPeriod

        int getIdleConnectionTestPeriod()
      • setIdleConnectionTestPeriod

        void setIdleConnectionTestPeriod​(int idleConnectionTestPeriod)
                                  throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getInitialPoolSize

        int getInitialPoolSize()
      • setInitialPoolSize

        void setInitialPoolSize​(int initialPoolSize)
                         throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getMaxIdleTime

        int getMaxIdleTime()
      • setMaxIdleTime

        void setMaxIdleTime​(int maxIdleTime)
                     throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getMaxPoolSize

        int getMaxPoolSize()
      • setMaxPoolSize

        void setMaxPoolSize​(int maxPoolSize)
                     throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getMaxStatements

        int getMaxStatements()
      • setMaxStatements

        void setMaxStatements​(int maxStatements)
                       throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getMaxStatementsPerConnection

        int getMaxStatementsPerConnection()
      • setMaxStatementsPerConnection

        void setMaxStatementsPerConnection​(int maxStatementsPerConnection)
                                    throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getMinPoolSize

        int getMinPoolSize()
      • setMinPoolSize

        void setMinPoolSize​(int minPoolSize)
                     throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getPropertyCycle

        int getPropertyCycle()
      • setPropertyCycle

        void setPropertyCycle​(int propertyCycle)
                       throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • isBreakAfterAcquireFailure

        boolean isBreakAfterAcquireFailure()
      • setBreakAfterAcquireFailure

        void setBreakAfterAcquireFailure​(boolean breakAfterAcquireFailure)
                                  throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • isTestConnectionOnCheckout

        boolean isTestConnectionOnCheckout()
      • setTestConnectionOnCheckout

        void setTestConnectionOnCheckout​(boolean testConnectionOnCheckout)
                                  throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • isTestConnectionOnCheckin

        boolean isTestConnectionOnCheckin()
      • setTestConnectionOnCheckin

        void setTestConnectionOnCheckin​(boolean testConnectionOnCheckin)
                                 throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • isAttemptResurrectOnCheckin

        boolean isAttemptResurrectOnCheckin()
      • setAttemptResurrectOnCheckin

        void setAttemptResurrectOnCheckin​(boolean attemptResurrectOnCheckin)
                                   throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getPreferredTestQuery

        java.lang.String getPreferredTestQuery()
      • setPreferredTestQuery

        void setPreferredTestQuery​(java.lang.String preferredTestQuery)
                            throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getNumHelperThreads

        int getNumHelperThreads()
      • setNumHelperThreads

        void setNumHelperThreads​(int numHelperThreads)
                          throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getFactoryClassLocation

        java.lang.String getFactoryClassLocation()
      • setFactoryClassLocation

        void setFactoryClassLocation​(java.lang.String factoryClassLocation)
                              throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • getNumUserPools

        int getNumUserPools()
                     throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getNumConnectionsDefaultUser

        int getNumConnectionsDefaultUser()
                                  throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getNumIdleConnectionsDefaultUser

        int getNumIdleConnectionsDefaultUser()
                                      throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getNumBusyConnectionsDefaultUser

        int getNumBusyConnectionsDefaultUser()
                                      throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getNumUnclosedOrphanedConnectionsDefaultUser

        int getNumUnclosedOrphanedConnectionsDefaultUser()
                                                  throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getNumConnections

        int getNumConnections​(java.lang.String username,
                              java.lang.String password)
                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getNumIdleConnections

        int getNumIdleConnections​(java.lang.String username,
                                  java.lang.String password)
                           throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getNumBusyConnections

        int getNumBusyConnections​(java.lang.String username,
                                  java.lang.String password)
                           throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getNumUnclosedOrphanedConnections

        int getNumUnclosedOrphanedConnections​(java.lang.String username,
                                              java.lang.String password)
                                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getEffectivePropertyCycle

        float getEffectivePropertyCycle​(java.lang.String username,
                                        java.lang.String password)
                                 throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getNumBusyConnectionsAllUsers

        int getNumBusyConnectionsAllUsers()
                                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getNumIdleConnectionsAllUsers

        int getNumIdleConnectionsAllUsers()
                                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getNumConnectionsAllUsers

        int getNumConnectionsAllUsers()
                               throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getNumUnclosedOrphanedConnectionsAllUsers

        int getNumUnclosedOrphanedConnectionsAllUsers()
                                               throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getEffectivePropertyCycleDefaultUser

        float getEffectivePropertyCycleDefaultUser()
                                            throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • softResetDefaultUser

        void softResetDefaultUser()
                           throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • softReset

        void softReset​(java.lang.String username,
                       java.lang.String password)
                throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • softResetAllUsers

        void softResetAllUsers()
                        throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • hardReset

        void hardReset()
                throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • close

        void close()
            throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • create

        void create()
             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • start

        void start()
            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • stop

        void stop()
      • destroy

        void destroy()