ExecutorServices

org.atnos.eff.ExecutorServices$
See theExecutorServices companion class

Attributes

Companion:
class
Source:
ExecutorServices.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Concrete methods

def create(implicit es: ExecutorService, s: ScheduledExecutorService): ExecutorServices

Attributes

Source:
ExecutorServices.scala
def createExecutionContext(executorService: ExecutorService, logger: String => Unit): ExecutionContext

Attributes

Source:
ExecutorServices.scala
def executor(threadsNb: Int): ExecutorService

Attributes

Source:
ExecutorServices.scala

create an ExecutionEnv from an execution context only

create an ExecutionEnv from an execution context only

WARNING!!! This method create a brand new scheduledExecutorService which will be used if you use the ExecutorServices to timeout an Async effect

Attributes

Source:
ExecutorServices.scala
def fromExecutorService(es: => ExecutorService): ExecutorServices

Attributes

Source:
ExecutorServices.scala
def fromExecutorServices(es: => ExecutorService, s: => ScheduledExecutorService): ExecutorServices

Attributes

Source:
ExecutorServices.scala

create an ExecutorServices from Scala global execution context

create an ExecutorServices from Scala global execution context

Attributes

Source:
ExecutorServices.scala
def scheduledExecutor(scheduledThreadsNb: Int): ScheduledExecutorService

Attributes

Source:
ExecutorServices.scala

create a Scheduler from Scala global execution context

create a Scheduler from Scala global execution context

Attributes

Source:
ExecutorServices.scala
def schedulerFromScheduledExecutorService(s: ScheduledExecutorService): Scheduler

Attributes

Source:
ExecutorServices.scala

Concrete fields

lazy val threadsNb: Int

Attributes

Source:
ExecutorServices.scala