com.alee.utils
Class ThreadUtils

java.lang.Object
  extended by com.alee.utils.ThreadUtils

public final class ThreadUtils
extends java.lang.Object

This class provides a set of utilities to work with threads.

Author:
Mikle Garin

Constructor Summary
ThreadUtils()
           
 
Method Summary
static void sleepSafely(long millis)
          Causes calling thread to sleep and ignores thrown InterruptedException.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadUtils

public ThreadUtils()
Method Detail

sleepSafely

public static void sleepSafely(long millis)
Causes calling thread to sleep and ignores thrown InterruptedException.

Parameters:
millis - time to sleep