Class ThreadUtils

java.lang.Object
org.broadleafcommerce.common.util.ThreadUtils

public class ThreadUtils extends Object
This utility class provides methods that simplify thread operations.
Author:
Andre Azzolini (apazzolini)
  • Constructor Details

    • ThreadUtils

      public ThreadUtils()
  • Method Details

    • sleepUntil

      public static void sleepUntil(int year, int month, int day, int hour, int min, int sec)
      Sleeps the current thread until the specified future date. If the date is before the current time, the thread will resume operation immediately.
      Parameters:
      year -
      month -
      day -
      hour -
      min -
      sec -