Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.util
Class ThreadUtils

    java.lang.Object
      org.gradle.util.ThreadUtils

    class ThreadUtils
    extends java.lang.Object

author:
  Tom Eyckmans

Constructor Summary
`ThreadUtils()`

Method Summary
`static void` | `awaitTermination(T executorService)`
`static void` | `awaitTermination(T executorService, InterruptHandler interruptHandler)`
`static void` | `join(T threadToJoinWith)`
`static void` | `join(T threadToJoinWith, InterruptHandler interruptHandler)`
`static ExecutorService` | `newFixedThreadPool(int minimalSize)`
`static java.lang.Thread` | `run(java.lang.Runnable runnable)`
`static void` | `shutdown(T executorService)`
`static void` | `shutdown(T executorService, InterruptHandler interruptHandler)`
`static int` | `threadPoolSize(int minimalSize)`

Methods inherited from class java.lang.Object
hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll

Constructor Detail

### ThreadUtils

    ThreadUtils()

Method Detail

### awaitTermination

    public static void awaitTermination(T executorService)

### awaitTermination

    public static void awaitTermination(T executorService, InterruptHandler interruptHandler)

### join

    public static void join(T threadToJoinWith)

### join

    public static void join(T threadToJoinWith, InterruptHandler interruptHandler)

### newFixedThreadPool

    public static ExecutorService newFixedThreadPool(int minimalSize)

### run

    public static java.lang.Thread run(java.lang.Runnable runnable)

### shutdown

    public static void shutdown(T executorService)

### shutdown

    public static void shutdown(T executorService, InterruptHandler interruptHandler)

### threadPoolSize

    public static int threadPoolSize(int minimalSize)

Groovy Documentation