code: public void setTimeout(String value) {
  
          try {
              setTimeout(Long.parseLong(value));
          } catch (Exception e) {
              LOG.error(
                  Messages.get().getBundle().key(Messages.LOG_PARSE_TIMEOUT_FAILED_2, value, new Long(DEFAULT_TIMEOUT)),
                  e);
              setTimeout(DEFAULT_TIMEOUT);
          }
      }
docs: Sets the timeout to abandon threads indexing a resource as a String.<p>
  
  @param value the timeout in milliseconds