Package ca.uhn.fhir.util
Class SleepUtil
java.lang.Object
ca.uhn.fhir.util.SleepUtil
A utility class for thread sleeps.
Uses non-static methods for easier mocking and unnecessary waits in unit tests
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sleepAtLeast
(long theMillis) void
sleepAtLeast
(long theMillis, boolean theLogProgress)
-
Constructor Details
-
SleepUtil
public SleepUtil()
-
-
Method Details
-
sleepAtLeast
-
sleepAtLeast
-