public int getAgentsRegistrationQueueSize() {
    return Integer.parseInt(getProperty(AGENTS_REGISTRATION_QUEUE_SIZE));
  }
@return queue size for agents in registration.
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java