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

info.novatec.testit.webtester.waiting.Sleeper Maven / Gradle / Ivy

package info.novatec.testit.webtester.waiting;

/**
 * Implementations of this interface can be used to trigger a 'sleep' state for a certain amount of time.
 *
 * @since 2.0
 */
public interface Sleeper {
    /**
     * Sleep for the given amount of milliseconds.
     *
     * @param milliseconds the milliseconds to sleep
     * @throws InterruptionException in case the sleep operation is interrupted
     * @since 2.0
     */
    void sleep(long milliseconds) throws InterruptionException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy