BasicThreadFactory

abstract class BasicThreadFactory(isDaemon: Boolean = false, priority: Int = -1) : CommonsThreadFactoryAdapter

An abstract ThreadFactory implementation for simple customization.

Parameters

isDaemon

Whether newThread should create a daemon thread.

priority

The priority of a thread created by newThread.

Constructors

Link copied to clipboard
constructor(isDaemon: Boolean = false, priority: Int = -1)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun newThread(p0: Runnable): Thread