/** Thread constructor * @param connectionPartition partition to monitor * @param pool Pool handle. */ public PoolWatchThread(ConnectionPartition connectionPartition, BoneCP pool) { this.partition = connectionPartition; this.pool = pool; this.lazyInit = this.pool.getConfig().isLazyInit(); this.acquireRetryDelayInMs = this.pool.getConfig().getAcquireRetryDelayInMs(); this.poolAvailabilityThreshold = this.pool.getConfig().getPoolAvailabilityThreshold(); }
this.poolAvailabilityThreshold = config.getPoolAvailabilityThreshold(); this.connectionTimeoutInMs = config.getConnectionTimeoutInMs();
this.poolAvailabilityThreshold = config.getPoolAvailabilityThreshold(); this.connectionTimeoutInMs = config.getConnectionTimeoutInMs();
&& Objects.equal(this.datasourceBean, that.getDatasourceBean()) && Objects.equal(this.getQueryExecuteTimeLimitInMs(), that.getQueryExecuteTimeLimitInMs()) && Objects.equal(this.poolAvailabilityThreshold, that.getPoolAvailabilityThreshold()) && Objects.equal(this.poolName, that.getPoolName()) && Objects.equal(this.disableConnectionTracking, that.isDisableConnectionTracking())