class JobStatusPollingUtils {

	@VisibleForTesting
	static CompletableFuture<JobResult> pollJobResultAsync(
			final Supplier<CompletableFuture<JobStatus>> jobStatusSupplier,
			final Supplier<CompletableFuture<JobResult>> jobResultSupplier,
			final ScheduledExecutor scheduledExecutor,
			final long retryMsTimeout) {
		return pollJobResultAsync(jobStatusSupplier, jobResultSupplier, scheduledExecutor, new CompletableFuture<>(), retryMsTimeout, 0);
	}

}