code: private void fillConnections(int connectionsToCreate) throws InterruptedException {
  		try {
  			for (int i = 0; i < connectionsToCreate; i++) {
  				if (this.thriftConnectionPool.poolShuttingDown) {
  					break;
  				}
  				if (!run) {
  					break;
  				}
  				this.thriftConnectionPartition.addFreeConnection(new ThriftConnectionHandle<T>(null,
  						this.thriftConnectionPartition, this.thriftConnectionPool, false));
  			}
  			// 如果正确的获取连接则失败次数重置为0
  			currentConnectionFailedCount = 0;
  		} catch (Exception e) {
  			currentConnectionFailedCount++;
  			// 判断连续次数是否是超限了
  			if (currentConnectionFailedCount == maxConnectionCreateFailedCount) {
  				logger.error("Error in trying to obtain a connection in " + currentConnectionFailedCount
  						+ " count will remove the server", e);
  				thriftConnectionPool.destroyThriftConnectionPartition(thriftConnectionPartition);
  			} else {
  				logger.error("Error in trying to obtain a connection. Retrying in " + this.acquireRetryDelayInMs + "ms",
  						e);
  				Thread.sleep(this.acquireRetryDelayInMs);
  			}
  		}
  	}
docs: 触发创建连接的方法<br>
  新的连接会添加到分区中
  
  @param connectionsToCreate
  需要创建的连接数
  @throws InterruptedException
  当添加操作被中断的时候抛出该异常