jodd.util
Class ThreadUtil

java.lang.Object
  extended byjodd.util.ThreadUtil

public final class ThreadUtil
extends java.lang.Object

Thread utilities.


Constructor Summary
ThreadUtil()
           
 
Method Summary
static void sleep()
          Puts a thread to sleep forever.
static void sleep(long ms)
          Puts a thread to sleep, without throwing an InterruptedException.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadUtil

public ThreadUtil()
Method Detail

sleep

public static void sleep(long ms)
Puts a thread to sleep, without throwing an InterruptedException.

Parameters:
ms - the length of time to sleep in milliseconds

sleep

public static void sleep()
Puts a thread to sleep forever.

See Also:
sleep(long ms)


Jodd v0.24.5 Javadoc