Class SleepUtil

java.lang.Object
ca.uhn.fhir.util.SleepUtil

public class SleepUtil extends Object
A utility class for thread sleeps. Uses non-static methods for easier mocking and unnecessary waits in unit tests
  • Constructor Details

  • Method Details

    • sleepAtLeast

      public void sleepAtLeast(long theMillis)
    • sleepAtLeast

      public void sleepAtLeast(long theMillis, boolean theLogProgress)