code: public void setPollSleep(long time, TimeUnit unit)
      {
          if (unit.toMillis(time) < MIN_POLL_MS)
          {
              LOG.warning(String.format("Poll interval cannot be less than %d seconds. Setting it to %d seconds.", TimeUnit.MILLISECONDS.toSeconds(MIN_POLL_MS), TimeUnit.MILLISECONDS.toSeconds(MIN_POLL_MS)));
              pollMs.set(MIN_POLL_MS);
          }
          else
          {
              pollMs.set(unit.toMillis(time));
          }
      }
docs: Change the time that the query status is polled. The default
  is {@link #DEFAULT_POLL_MS}.
  
  @param time polling time
  @param unit time unit