this.closeConnectionWatch = config.isCloseConnectionWatch(); this.cachedPoolStrategy = config.getPoolStrategy() != null && config.getPoolStrategy().equalsIgnoreCase("CACHED"); if (this.cachedPoolStrategy) {
this.closeConnectionWatch = config.isCloseConnectionWatch(); this.cachedPoolStrategy = config.getPoolStrategy() != null && config.getPoolStrategy().equalsIgnoreCase("CACHED"); if (this.cachedPoolStrategy){
this.doubleCloseCheck = pool.getConfig().isCloseConnectionWatch(); this.logStatementsEnabled = pool.getConfig().isLogStatementsEnabled(); int cacheSize = pool.getConfig().getStatementsCacheSize();
if ( that != null && Objects.equal(this.acquireIncrement, that.getAcquireIncrement()) && Objects.equal(this.acquireRetryDelayInMs, that.getAcquireRetryDelayInMs()) && Objects.equal(this.closeConnectionWatch, that.isCloseConnectionWatch()) && Objects.equal(this.logStatementsEnabled, that.isLogStatementsEnabled()) && Objects.equal(this.connectionHook, that.getConnectionHook())