com.softicar.platform.common.core.thread.sleeper.ISleeper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.core.thread.sleeper;
/**
* Interface for various {@link Thread} sleep implementations.
*
* @author Oliver Richers
*/
public interface ISleeper {
/**
* Suspends the current execution for the given amount of milliseconds.
*
* @param millis
* the number of milliseconds to sleep (must not be negative)
*/
void sleep(long millis);
}