Interface ClientConnectionPoolDataSourceInterface

All Superinterfaces:
ClientDataSourceInterface, CommonDataSource, ConnectionPoolDataSource, DataSource, Wrapper
All Known Implementing Classes:
BasicClientConnectionPoolDataSource40, ClientConnectionPoolDataSource, ClientConnectionPoolDataSource40

public interface ClientConnectionPoolDataSourceInterface extends ClientDataSourceInterface, ConnectionPoolDataSource
Specifies Derby extensions to the java.sqlx.ConnectionPoolDataSource.
  • Method Details

    • 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:
      IllegalArgumentException - if maxStatements is negative