private void configureNewConnections() throws ClosedChannelException, IOException {
    while (newConnections.size() > 0) {
      SocketChannelPortTypePair socketChannelPortTypePair = newConnections.poll();
      logger.debug("Processor {} listening to new connection from {}", id,
          socketChannelPortTypePair.getSocketChannel().socket().getRemoteSocketAddress());
      try {
        selector.register(socketChannelPortTypePair.getSocketChannel(), socketChannelPortTypePair.getPortType());
      } catch (IOException e) {
        logger.error("Error on registering new connection ", e);
      }
    }
  }
Register any new connections that have been queued up
ambry-network/src/main/java/com/github/ambry/network/SocketServer.java