Class DbcpConfig


  • public class DbcpConfig
    extends Object
    Configuration bean for DBCP
    Since:
    8.2
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • DbcpConfig

        public DbcpConfig()
    • Method Detail

      • getDriverClassName

        public String getDriverClassName()
      • getMaxTotal

        public int getMaxTotal()
      • getMaxIdle

        public int getMaxIdle()
      • getInitialSize

        public int getInitialSize()
      • isTestOnBorrow

        public boolean isTestOnBorrow()
      • getTimeBetweenEvictionRunsMillis

        public long getTimeBetweenEvictionRunsMillis()
      • getNumTestsPerEvictionRun

        public int getNumTestsPerEvictionRun()
      • isTestWhileIdle

        public boolean isTestWhileIdle()
      • getPassword

        public String getPassword()
      • getUrl

        public String getUrl()
      • getValidationQuery

        public String getValidationQuery()
      • setDriverClassName

        public void setDriverClassName​(String driverClassName)
      • setMaxTotal

        public void setMaxTotal​(int maxTotal)
      • setMaxIdle

        public void setMaxIdle​(int maxIdle)
      • setInitialSize

        public void setInitialSize​(int initialSize)
      • setTestOnBorrow

        public void setTestOnBorrow​(boolean testOnBorrow)
      • setTimeBetweenEvictionRunsMillis

        public void setTimeBetweenEvictionRunsMillis​(long timeBetweenEvictionRunsMillis)
      • setNumTestsPerEvictionRun

        public void setNumTestsPerEvictionRun​(int numTestsPerEvictionRun)
      • setTestWhileIdle

        public void setTestWhileIdle​(boolean testWhileIdle)
      • setPassword

        public void setPassword​(String password)
      • setUrl

        public void setUrl​(String url)
      • setValidationQuery

        public void setValidationQuery​(String validationQuery)
      • getUsername

        public String getUsername()
      • setUsername

        public void setUsername​(String username)