public class ThreadUtils extends Object
| Constructor and Description |
|---|
ThreadUtils() |
| Modifier and Type | Method and 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–2022 The Apache Software Foundation. All rights reserved.