@Override
        public Future<?> schedule(final Runnable command, final TimeValue timeValue) throws RejectedExecutionException {
            if (timeValue.toMilliseconds() <= 0) {
                command.run();
                return new CompletedFuture<>(null);
            }
            return executor.schedule(command, timeValue);
        }
Class used for asynchronous revalidations to be used when the {@code stale-while-revalidate}
directive is present
httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/DefaultAsyncCacheRevalidator.java