Packages

final case class ThreadPoolConfig(allowCorePoolTimeout: Boolean = ThreadPoolConfig.defaultAllowCoreThreadTimeout, corePoolSize: Int = ThreadPoolConfig.defaultCorePoolSize, maxPoolSize: Int = ThreadPoolConfig.defaultMaxPoolSize, threadTimeout: Duration = ThreadPoolConfig.defaultTimeout, queueFactory: QueueFactory = ThreadPoolConfig.linkedBlockingQueue(), rejectionPolicy: RejectedExecutionHandler = ThreadPoolConfig.defaultRejectionPolicy) extends ExecutorServiceFactoryProvider with Product with Serializable

A small configuration DSL to create ThreadPoolExecutors that can be provided as an ExecutorServiceFactoryProvider to Dispatcher

Source
ThreadPoolBuilder.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ThreadPoolConfig
  2. Serializable
  3. Product
  4. Equals
  5. ExecutorServiceFactoryProvider
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. val allowCorePoolTimeout: Boolean
  2. val corePoolSize: Int
  3. def createExecutorServiceFactory(id: String, threadFactory: ThreadFactory): ExecutorServiceFactory
  4. val maxPoolSize: Int
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. val queueFactory: QueueFactory
  7. val rejectionPolicy: RejectedExecutionHandler
  8. val threadTimeout: Duration