Interface DelayTimeProvider

All Known Implementing Classes:
DefaultDelayTimeProvider

public interface DelayTimeProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    nextRun(boolean firstRun, boolean lastRunSuccessful)
    Gives the Duration till the next run should be triggered.
  • Method Details

    • nextRun

      Duration nextRun(boolean firstRun, boolean lastRunSuccessful)
      Gives the Duration till the next run should be triggered.
      Parameters:
      firstRun - true if this method gets executed for the first time
      lastRunSuccessful - true if the last fetch of an BridgeHttp.Endpoint was successful
      Returns:
      the Duration till the next run