Package 

Class DefaultExportScheduler

    • Method Summary

      Modifier and Type Method Description
      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.
      Boolean shouldStopRunning() Should return FALSE when further runs are needed, TRUE if no need for this task to ever run again.
      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.
      • Methods inherited from class io.opentelemetry.android.features.diskbuffering.scheduler.DefaultExportScheduler

        run
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultExportScheduler

        DefaultExportScheduler()
    • 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.