public class ExecutorUtil extends Object
| Constructor and Description |
|---|
ExecutorUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
gracefulShutdown(Executor executor,
int timeout) |
static boolean |
isShutdown(Executor executor) |
static URL |
setThreadName(URL url,
String defaultName)
append thread name with url address
|
static void |
shutdownNow(Executor executor,
int timeout) |
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.