Packages

object EngineWorkerPools extends Provider

Linear Supertypes
Provider, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EngineWorkerPools
  2. Provider
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bindWorker(thread: Thread, workerVersion: Worker): Unit
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. implicit def currentExecutionContext: ExecutionContext
    Definition Classes
    EngineWorkerPools → Provider
  8. implicit def currentPool: Option[WorkerPool]

    returns

    Some if the current thread is a member of a WorkerPool, None instead

    Definition Classes
    EngineWorkerPools → Provider
  9. def currentTask: Option[WorkerTask[_]]
    Definition Classes
    EngineWorkerPools → Provider
    Annotations
    @workerExecution()
  10. def currentTaskWithController: Option[WorkerTask[_] with AsyncTaskController]
    Definition Classes
    EngineWorkerPools → Provider
    Annotations
    @workerExecution()
  11. def currentWorker: Worker
    Definition Classes
    EngineWorkerPools → Provider
    Annotations
    @workerExecution()
  12. def currentWorkerOpt: Option[Worker]
    Definition Classes
    EngineWorkerPools → Provider
  13. def ensureCurrentIsNotWorker(msg: String): Unit

    msg

    the message to complain with the exception

    Definition Classes
    EngineWorkerPools → Provider
    Annotations
    @throws("If the current thread that executes this method is an instance of WorkerThread.")
    Exceptions thrown

    IllegalThreadException if the current thread is not a Worker

  14. def ensureCurrentIsNotWorker(): Unit

    Definition Classes
    EngineWorkerPools → Provider
    Annotations
    @throws("If the current thread that executes this method is an instance of WorkerThread.")
    Exceptions thrown

    IllegalThreadException if the current thread is not a Worker

  15. def ensureCurrentIsWorker(msg: String): WorkerPool

    msg

    the message to complain with the exception

    Definition Classes
    EngineWorkerPools → Provider
    Annotations
    @throws("If the current thread that executes this method is not an instance of WorkerThread.")
    Exceptions thrown

    IllegalThreadException if the current thread is a Worker

  16. def ensureCurrentIsWorker(): WorkerPool

    Definition Classes
    EngineWorkerPools → Provider
    Annotations
    @throws("If the current thread that executes this method is not an instance of WorkerThread.")
    Exceptions thrown

    IllegalThreadException if the current thread is a Worker

  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  21. def ifCurrentWorkerOrElse[A](ifCurrent: (WorkerPool) => A, orElse: => A): A

    Toggles between two actions if the current thread is an instance of Worker

    Toggles between two actions if the current thread is an instance of Worker

    ifCurrent

    The action to process if the current thread is a worker thread. The given entry is the current thread pool

    orElse

    the action to process if the current thread is not a worker thread.

    Definition Classes
    EngineWorkerPools → Provider
  22. def isCurrentThreadWorker: Boolean

    returns

    true
    Definition Classes
    EngineWorkerPools → Provider
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def newClosedPool(name: String, initialThreadCount: Int = 0): ClosedWorkerPool
    Definition Classes
    EngineWorkerPools → Provider
  26. def newHiringPool(name: String): HiringWorkerPool
    Definition Classes
    EngineWorkerPools → Provider
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  29. def runLaterInCurrentPool(action: => Unit): Unit
    Definition Classes
    EngineWorkerPools → Provider
    Annotations
    @throws("If the current thread that executes this method is not an instance of WorkerThread.")
  30. def runLaterOrHere(action: => Unit): Unit

    This method may execute the given action into the current thread pool.

    This method may execute the given action into the current thread pool. If the current execution thread is not a worker thread, this would mean that we are not running into a thread that is owned by the concurrency system. Therefore, the action may be performed in the current thread

    action

    the action to perform

    Definition Classes
    EngineWorkerPools → Provider
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. val workerThreadGroup: ThreadGroup

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Provider

Inherited from AnyRef

Inherited from Any

Ungrouped