### What happened?

The sample usage for java's `FluentWait` class refers to the methods `withTimeout` and `pollingEvery` that take a `TimeUnit` argument. These methods have been removed in commit 502301edeb4c4caf27aad125e8e75da3f22691f1, and no longer exist.

### How can we reproduce the issue?

```shell
Attempt to compile the code featured in `FluentWait`'s sample usage.
```


### Relevant log output

```shell
N/A
```


### Operating System

Windows 10 (but should reproduce regardless of OS)

### Selenium version

Noticed in Java 4.1.1, problem introduced in Java 4.0.0

### What are the browser(s) and version(s) where you see this issue?

N/A

### What are the browser driver(s) and version(s) where you see this issue?

N/A

### Are you using Selenium Grid?

No.
}
  /**
   * Sets how often the condition should be evaluated.
   *
   * <p>
   * In reality, the interval may be greater as the cost of actually evaluating a condition function
   * is not factored in. The default polling interval is {@link #DEFAULT_WAIT_DURATION}.
   *
   * @param interval The timeout duration.
   * @return A self reference.
   */
  public FluentWait<T> pollingEvery(Duration interval) {
    this.interval = interval;
    return this;
  }
  /**
   * Configures this instance to ignore specific types of exceptions while waiting for a condition.
   * Any exceptions not whitelisted will be allowed to propagate, terminating the wait.
   *
   * @param types The types of exceptions to ignore.
   * @param <K>   an Exception that extends Throwable
   * @return A self reference.
   */
  public <K extends Throwable> FluentWait<T> ignoreAll(Collection<Class<? extends K>> types) {
    ignoredExceptions.addAll(types);
    return this;
  }
  /**
   * @param exceptionType exception to ignore
   * @return a self reference