Package

com.mchange.sc.v2

concurrent

Permalink

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
Visibility
  1. Public
  2. All

Type Members

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

    Permalink
  2. implicit final class FutureOps[T] extends AnyVal

    Permalink
  3. sealed trait ManagedFuture[T] extends Future[T]

    Permalink
  4. trait Poller extends AutoCloseable

    Permalink
  5. trait Scheduler extends AutoCloseable

    Permalink

Value Members

  1. object ExecutionContexts

    Permalink
  2. object ManagedFuture

    Permalink

    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

    Permalink
  4. object ScheduledExecutorServicePoller

    Permalink
  5. object Scheduler

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

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

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

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

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

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped