void (boolean withFastTrack) { synchronized (myLock) { if (!myStarted && ApplicationManager.getApplication().isUnitTestMode()) return; if (myStopped) return; if (myRequestSubmitted) return; myRequestSubmitted = true; if (withFastTrack) { FastTrackRunnable fastRunnable = new FastTrackRunnable(); myScheduler.submit(fastRunnable); debug("Scheduled fast-track", fastRunnable); } RefreshRunnable runnable = new RefreshRunnable(); myScheduler.schedule(runnable, 300, TimeUnit.MILLISECONDS); debug("Scheduled", runnable); } }