java.lang.Object
org.freedesktop.dbus.utils.NameableThreadFactory
- Alle implementierten Schnittstellen:
ThreadFactory
A thread factory which allows setting name, priority and daemon flag
for all newly created threads.
-
Konstruktorübersicht
KonstruktorBeschreibungNameableThreadFactory
(String _name, boolean _daemonizeThreads) Create a new ThreadFactory instance.NameableThreadFactory
(String _name, boolean _daemonizeThreads, int _threadPriority) Create a new ThreadFactory instance. -
Methodenübersicht
-
Konstruktordetails
-
NameableThreadFactory
Create a new ThreadFactory instance. The thread name is created like this: _name + THREAD_NUMBER e.g: connectionPool-1 If _name is null or blank, UnnamedThreadPool-POOL_NUMBER-thread-THREAD_NUMBER will be used.- Parameter:
_name
- prefix for all thread names_daemonizeThreads
- turn all created threads to daemon threads
-
NameableThreadFactory
Create a new ThreadFactory instance. The thread name is created like this: _name + THREAD_NUMBER e.g: connectionPool-1 If _name is null or blank, UnnamedThreadPool-POOL_NUMBER-thread-THREAD_NUMBER will be used.- Parameter:
_name
- prefix for all thread names_daemonizeThreads
- turn all created threads to daemon threads_threadPriority
- priority to use for new threads- Seit:
- 4.2.0 - 2022-07-13
-
-
Methodendetails
-
newThread
- Angegeben von:
newThread
in SchnittstelleThreadFactory
-