Class/Object

io.chymyst.jc

FixedPool

Related Docs: object FixedPool | package jc

Permalink

final class FixedPool extends Pool

The fixed-thread implementation of a Chymyst thread pool.

Linear Supertypes
Pool, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FixedPool
  2. Pool
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FixedPool(name: String, parallelism: Int = cpuCores, priority: Int = Thread.NORM_PRIORITY)

    Permalink

    parallelism

    Total number of threads.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def close(): Unit

    Permalink
    Definition Classes
    Pool → AutoCloseable
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. val executionContext: ExecutionContext

    Permalink
    Definition Classes
    Pool
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. def isInactive: Boolean

    Permalink
    Definition Classes
    Pool
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. val name: String

    Permalink
    Definition Classes
    Pool
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val parallelism: Int

    Permalink

    Total number of threads.

    Total number of threads.

    Definition Classes
    FixedPoolPool
  20. val priority: Int

    Permalink
    Definition Classes
    Pool
  21. def recycleThreadTimeMs: Long

    Permalink
    Definition Classes
    Pool
  22. def shutdownNow(): Unit

    Permalink

    Shut down the thread pool when required.

    Shut down the thread pool when required. This will interrupt all threads and clear the worker and the scheduler queues.

    Usually this is not needed in application code. Call this method in a situation when work has to be stopped immediately.

    Definition Classes
    Pool
  23. def shutdownWaitTimeMs: Long

    Permalink
    Definition Classes
    Pool
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. val threadGroup: ThreadGroup

    Permalink
    Definition Classes
    Pool
  26. val toString: String

    Permalink
    Definition Classes
    Pool → AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. val workerExecutor: ThreadPoolExecutor

    Permalink
    Attributes
    protected
    Definition Classes
    Pool

Inherited from Pool

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped