code: public void addServerToCache(ServerImpl server) {
          // Remove in case, there's an old instance in cache
          removeServerFromCache(server.getId());
  
          nonReadyServers.put(server.getId(), server);
          server.addServerReadyConsumer(s -> {
              nonReadyServers.remove(s.getId());
              removeUnavailableServerFromCache(s.getId());
              servers.put(s.getId(), s);
          });
      }
docs: Adds the given server to the cache.
  
  @param server The server to add.