jetbrains.buildServer.util
Class ThreadUtil

java.lang.Object
  extended by jetbrains.buildServer.util.ThreadUtil

public class ThreadUtil
extends java.lang.Object

Created by IntelliJ IDEA. User: kir Date: Jul 30, 2009


Constructor Summary
ThreadUtil()
           
 
Method Summary
static void shutdownNowAndWait(java.util.concurrent.ExecutorService service, java.lang.String identifier)
           
static void sleep(long millis)
          Sleeps for the specified time.
 
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

shutdownNowAndWait

public static void shutdownNowAndWait(java.util.concurrent.ExecutorService service,
                                      java.lang.String identifier)

sleep

public static void sleep(long millis)
Sleeps for the specified time.

Does like the Thread.sleep(long) does but doesn't throw exceptions.

Parameters:
millis - sleeping time in milliseconds.