Packages

final case class ThreadPoolConfig(allowCorePoolTimeout: Boolean = ..., corePoolSize: Int = ..., maxPoolSize: Int = ThreadPoolConfig.defaultMaxPoolSize, threadTimeout: Duration = ThreadPoolConfig.defaultTimeout, queueFactory: QueueFactory = ..., rejectionPolicy: RejectedExecutionHandler = ...) 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
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ThreadPoolConfig
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ExecutorServiceFactoryProvider
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ThreadPoolConfig(allowCorePoolTimeout: Boolean = ..., corePoolSize: Int = ..., maxPoolSize: Int = ThreadPoolConfig.defaultMaxPoolSize, threadTimeout: Duration = ThreadPoolConfig.defaultTimeout, queueFactory: QueueFactory = ..., rejectionPolicy: RejectedExecutionHandler = ...)

Value Members

  1. val allowCorePoolTimeout: Boolean
  2. val corePoolSize: Int
  3. final def createExecutorServiceFactory(id: String, threadFactory: ThreadFactory): ExecutorServiceFactory
  4. val maxPoolSize: Int
  5. val queueFactory: QueueFactory
  6. val rejectionPolicy: RejectedExecutionHandler
  7. val threadTimeout: Duration