code: public void addAddress(PeerAddress peerAddress) {
          int newMax;
          lock.lock();
          try {
              if (addInactive(peerAddress)) {
                  newMax = getMaxConnections() + 1;
                  setMaxConnections(newMax);
              }
          } finally {
              lock.unlock();
          }
      }
docs: Add an address to the list of potential peers to connect to. It won't necessarily be used unless there's a need
  to build new connections to reach the max connection count.
  
  @param peerAddress IP/port to use.