public class ThreadUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ThreadUtils.IThreadFactory
Can be used to create threads
|
| Modifier and Type | Field and Description |
|---|---|
static ThreadUtils.IThreadFactory |
threadFactory |
| Constructor and Description |
|---|
ThreadUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Thread |
createGenericThread(Runnable r,
String name,
boolean daemon)
Adds a thread which is generic, i.e.
|
public static ThreadUtils.IThreadFactory threadFactory
public static Thread createGenericThread(Runnable r, String name, boolean daemon)
r - the runnablename - the name of the threaddaemon - whether the thread is a daemonCopyright © 2021 Fraunhofer SIT. All rights reserved.