code: public List<Long> getIds(final int count) throws SnowizardClientException {
          for (final String host : hosts) {
              try {
                  final SnowizardResponse snowizard = executeRequest(host, count);
                  if (snowizard != null) {
                      return snowizard.getIdList();
                  }
              } catch (final Exception ex) {
                  LOGGER.warn("Unable to get ID from host ({})", host);
              }
          }
          throw new SnowizardClientException(
                  "Unable to generate batch of IDs from Snowizard");
      }
docs: Get multiple IDs from Snowizard
  
  @param count
  Number of IDs to return
  @return generated IDs
  @throws SnowizardClientException
  when unable to get an ID from any host