org.vatplanner.dataformats.vatsimpublic.MinimumRetrievalIntervalProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dataformats-vatsim-public Show documentation
Show all versions of dataformats-vatsim-public Show documentation
library for parsing and processing publicly accessible VATSIM data formats
package org.vatplanner.dataformats.vatsimpublic;
import java.time.Duration;
/**
* Should be implemented if network-retrieved data defines a minimum interval
* (minimum time to wait) before next fetch.
*/
public interface MinimumRetrievalIntervalProvider {
/**
* Returns the minimum interval (time to wait) before next fetch of data as
* requested by upstream sources.
*
* @return minimum interval at which data should be retrieved
*/
public Duration getMinimumRetrievalInterval();
}