Uses of Class
org.openhab.core.common.ThreadFactoryBuilder
-
Uses of ThreadFactoryBuilder in org.openhab.core.common
Modifier and TypeMethodDescriptionstatic ThreadFactoryBuilder
ThreadFactoryBuilder.create()
Creates a freshThreadFactoryBuilder
.ThreadFactoryBuilder.withDaemonThreads
(boolean daemonThreads) Sets whether theThreadFactory
will create daemon threads.Sets the name to be used by theThreadFactory
.ThreadFactoryBuilder.withNamePrefix
(@Nullable String namePrefix) Sets the name prefix to be used by theThreadFactory
.ThreadFactoryBuilder.withPriority
(@Nullable Integer priority) Sets the priority to be set for created threads.ThreadFactoryBuilder.withUncaughtExceptionHandler
(@Nullable Thread.UncaughtExceptionHandler uncaughtExceptionHandler) Sets theThread.UncaughtExceptionHandler
to be used for created threads.ThreadFactoryBuilder.withWrappedThreadFactory
(@Nullable ThreadFactory wrappedThreadFactory) Sets the wrapped thread factory used to create threads.