case class NamedThreadFactory(name: String) extends ThreadFactory with Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- NamedThreadFactory
- Serializable
- Product
- Equals
- ThreadFactory
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new NamedThreadFactory(name: String)
Value Members
- val backingThreadFactory: ThreadFactory
- val name: String
- def newThread(r: Runnable): Thread
- Definition Classes
- NamedThreadFactory → ThreadFactory
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val threadNo: AtomicInteger
Thread factory that creates threads that are named. Threads will be named with the format:
{name}-{threadNo}
where threadNo is an integer starting from one.