void () { myProgressIndicator.start(); myProgressCheckingFuture = AppExecutorUtil.getAppScheduledExecutorService() .scheduleWithFixedDelay(this::updateProgress, 0, PROGRESS_CHECKING_DELAY_MS, TimeUnit.MILLISECONDS); }