public class SleepTimer
extends java.lang.Object
Constructor and Description |
---|
SleepTimer() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
This method is called by Spring during server shut-down.
|
static boolean |
sleepFor(long milliseconds)
Sleep for the given number of milliseconds.
|
public static boolean sleepFor(long milliseconds)
milliseconds
- for how long to sleep if the server remains runningpublic void destroy()