Interface ClientConnectionPoolDataSourceInterface

    • Method Detail

      • getMaxStatements

        int getMaxStatements()
        Returns the maximum number of JDBC prepared statements a connection is allowed to cache.
        Returns:
        Maximum number of statements to cache, or 0 if caching is disabled (default).
      • setMaxStatements

        void setMaxStatements​(int maxStatements)
        Specifies the maximum size of the statement cache.
        Parameters:
        maxStatements - maximum number of cached statements
        Throws:
        java.lang.IllegalArgumentException - if maxStatements is negative