Package io.openems.edge.bridge.http.time
Interface DelayTimeProvider
- All Known Implementing Classes:
DefaultDelayTimeProvider
public interface DelayTimeProvider
-
Method Summary
-
Method Details
-
nextRun
Gives theDuration
till the next run should be triggered.- Parameters:
firstRun
- true if this method gets executed for the first timelastRunSuccessful
- true if the last fetch of anBridgeHttp.Endpoint
was successful- Returns:
- the
Duration
till the next run
-