public class ThreadUtils extends Object
| Constructor | Description |
|---|---|
ThreadUtils() |
| Modifier and Type | Method | Description |
|---|---|---|
static ThreadFactory |
namedThreadFactory(String prefix) |
Constructs threads with names
<prefix>-<pool number>-thread-<thread number>. |
public static ThreadFactory namedThreadFactory(String prefix)
<prefix>-<pool number>-thread-<thread number>.prefix - prefix to be used for thread names created by this ThreadFactoryCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.