Package Common

Class CustomTimer

java.lang.Object
Common.CustomTimer

public class CustomTimer extends Object
The CustomTimer class provides utility methods for managing time-related operations, such as pausing execution of the current thread for a specified duration.
  • Constructor Details

    • CustomTimer

      public CustomTimer()
  • Method Details

    • pause

      public static void pause(long time)
      Pauses the execution of the current thread for a specified amount of time.
      Parameters:
      time - the duration in milliseconds for which to pause the thread