All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.vatplanner.dataformats.vatsimpublic.MinimumRetrievalIntervalProvider Maven / Gradle / Ivy

There is a newer version: 0.1-pre230626
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy