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()
Version: 5.4.6-ice35-b87
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.