com.mchange.sc.v2

concurrent

package concurrent

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. concurrent
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type CBF[T] = CanBuildFrom[Seq[Future[Try[T]]], Try[T], Seq[Try[T]]]

  2. sealed trait ManagedFuture[T] extends Future[T]

  3. trait Poller extends AutoCloseable

  4. trait Scheduler extends AutoCloseable

Value Members

  1. object ExecutionContexts

  2. object ManagedFuture

    Rather than waiting on a collection of futures, which might use up a lot of heap if the collection is very large, this class defines a "Manager" one can wait on for a collection of futures to complete.

  3. object Poller

  4. object ScheduledExecutorServicePoller

  5. object Scheduler

  6. def awaitAndGatherFailures[T](seq: Seq[Future[T]], timeout: Duration = Duration.Inf)(implicit cbf: CBF[T], ec: ExecutionContext): Seq[Throwable]

  7. def awaitAndGatherIndexedFailures[L, T](seq: Seq[Future[T]], timeout: Duration = Duration.Inf)(implicit cbf: CBF[T], ec: ExecutionContext): Seq[(Int, Throwable)]

  8. def awaitAndGatherLabeledFailures[L, T](pairs: Iterable[(L, Future[T])], timeout: Duration = Duration.Inf)(implicit cbf: CBF[T], ec: ExecutionContext): Seq[(L, Throwable)]

  9. def awaitSeq[T](seq: Seq[Future[T]], timeout: Duration = Duration.Inf)(implicit cbf: CBF[T], ec: ExecutionContext): Unit

  10. def liftToTry[T](fut: Future[T])(implicit ec: ExecutionContext): Future[Try[T]]

Inherited from AnyRef

Inherited from Any

Ungrouped