public class ExecutorUtils
extends java.lang.Object
| Constructor and Description |
|---|
ExecutorUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.concurrent.ThreadFactory |
getThreadFactory(java.lang.String nameFormat,
boolean daemon)
Get a
ThreadFactory suitable for use in the current environment. |
public static java.util.concurrent.ThreadFactory getThreadFactory(java.lang.String nameFormat,
boolean daemon)
ThreadFactory suitable for use in the current environment.nameFormat - to apply to threads created by the factory.daemon - true if the threads the factory creates are daemon threads,
false otherwise.ThreadFactory.Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.