code: public void setUnableToCreateMoreTransactions(boolean unableToCreateMoreTransactions) {
  		try {
  			unableToCreateMoreTransactionsLock.writeLock().lock();
  			this.unableToCreateMoreTransactions = unableToCreateMoreTransactions;
  		} finally {
  			unableToCreateMoreTransactionsLock.writeLock().unlock();
  		}
  	}
docs: 设置连接可创建的状态
  
  @param unableToCreateMoreTransactions
  true为不能继续创建连接 false为可以继续创建连接