ExecutorServices

case class ExecutorServices(executorServiceEval: () => ExecutorService, executionContextEval: () => ExecutionContext, scheduledExecutorServiceEval: () => ScheduledExecutorService, schedulerEval: () => Scheduler, shutdown: () => Unit)
Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def schedule(action: => Unit, duration: FiniteDuration): () => Unit
def shutdownNow(): Unit
def shutdownOnComplete[A](future: Future[A]): ExecutorServices

convenience method to shutdown the services when the final future has completed

convenience method to shutdown the services when the final future has completed

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Concrete fields

final lazy val executionContext: ExecutionContext
final lazy val executorService: ExecutorService
final lazy val scheduledExecutorService: ScheduledExecutorService
final lazy val scheduler: Scheduler