NamedThreadFactory

play.core.NamedThreadFactory
case class NamedThreadFactory(name: String) extends ThreadFactory

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.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ThreadFactory
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def newThread(r: Runnable): Thread

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

val backingThreadFactory: ThreadFactory
val threadNo: AtomicInteger