| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_SLEEP_INTERVAL_MS |
| Constructor and Description |
|---|
Threads() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
oneAlife(Thread[] threads) |
static void |
terminate(Thread[] threads) |
static boolean |
waitForCompletion(Thread[] threads) |
static boolean |
waitForCompletion(Thread[] threads,
int maxWaitMillis) |
static boolean |
waitForCompletion(Thread[] threads,
int maxWaitMillis,
int sleepPeriodMillis) |
public static final int DEFAULT_SLEEP_INTERVAL_MS
public static final boolean oneAlife(Thread[] threads)
public static final void terminate(Thread[] threads)
public static final boolean waitForCompletion(Thread[] threads)
public static final boolean waitForCompletion(Thread[] threads, int maxWaitMillis)
public static final boolean waitForCompletion(Thread[] threads, int maxWaitMillis, int sleepPeriodMillis)
Copyright © 2012–2015. All rights reserved.