-
- All Implemented Interfaces:
-
java.lang.Runnable
public final class DefaultExportScheduler extends PeriodicRunnable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classDefaultExportScheduler.Companion
-
Constructor Summary
Constructors Constructor Description DefaultExportScheduler()
-
Method Summary
Modifier and Type Method Description UnitonRun()Called only if a) The runnable has never run before, OR b) The minimum amount of time delay has passed after the last run. BooleanshouldStopRunning()Should return FALSE when further runs are needed, TRUE if no need for this task to ever run again. LongminimumDelayUntilNextRunInMillis()The minimum amount of time to wait between runs, it might take longer than what's defined here to run this task again depending on when the next batch of background work will get submitted. -
-
Method Detail
-
onRun
Unit onRun()
Called only if a) The runnable has never run before, OR b) The minimum amount of time delay has passed after the last run.
-
shouldStopRunning
Boolean shouldStopRunning()
Should return FALSE when further runs are needed, TRUE if no need for this task to ever run again.
-
minimumDelayUntilNextRunInMillis
Long minimumDelayUntilNextRunInMillis()
The minimum amount of time to wait between runs, it might take longer than what's defined here to run this task again depending on when the next batch of background work will get submitted.
-
-
-
-