public class SleepTimer extends 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()
Version: 5.4.0-ice35-b74
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.