public class Utilities extends Object
| Constructor and Description |
|---|
Utilities() |
| Modifier and Type | Method and Description |
|---|---|
static void |
await(CountDownLatch latch,
String latchName) |
static ExecutorService |
blockingExecutor(String name,
int threads,
int queueCapacity) |
static ExecutorService |
blockingExecutor(String name,
int coreThreads,
int maxThreads,
int queueCapacity) |
static void |
shutdownAndAwaitTermination(ExecutorService executor,
String executorName) |
public static ExecutorService blockingExecutor(String name, int coreThreads, int maxThreads, int queueCapacity)
public static ExecutorService blockingExecutor(String name, int threads, int queueCapacity)
public static void shutdownAndAwaitTermination(ExecutorService executor, String executorName)
public static void await(CountDownLatch latch, String latchName)
Copyright © 2017 red6 enterprise software GmbH. All rights reserved.