package execution
- Alphabetic
- Public
- All
Type Members
-
sealed abstract
class
Ack
extends Future[Ack] with Serializable
Represents an acknowledgement of processing that a consumer sends back upstream.
Represents an acknowledgement of processing that a consumer sends back upstream. Useful to implement back-pressure.
-
trait
Cancelable
extends Serializable
Represents a one-time idempotent action that can be used to cancel async computations, or to release resources that active data sources are holding.
Represents a one-time idempotent action that can be used to cancel async computations, or to release resources that active data sources are holding.
It is equivalent to
java.io.Closeable
, but without the I/O focus, or toIDisposable
in Microsoft .NET, or toakka.actor.Cancellable
. -
trait
CancelableFuture
[+T] extends Future[T] with Cancelable
Represents an asynchronous computation that can be canceled as long as it isn't complete.
-
class
Macros
extends InlineMacros with HygieneUtilMacros
Various implementations for AckExtensions and Scheduler.
-
abstract
class
Scheduler
extends ExecutionContext with UncaughtExceptionReporter
A Scheduler is an
scala.concurrent.ExecutionContext
that additionally can schedule the execution of units of work to run with a delay or periodically.A Scheduler is an
scala.concurrent.ExecutionContext
that additionally can schedule the execution of units of work to run with a delay or periodically.- Annotations
- @implicitNotFound( ... )
-
trait
UncaughtExceptionReporter
extends Serializable
An exception reporter is a function that logs an uncaught error.
An exception reporter is a function that logs an uncaught error.
Usually taken as an implicit when executing computations that could fail, but that must not blow up the call-stack, like asynchronous tasks.
A default implicit is provided that simply logs the error on STDERR.
- Annotations
- @implicitNotFound( ... )
Value Members
- object Ack extends Serializable
- object Cancelable extends Serializable
- object CancelableFuture extends Serializable
-
object
FutureUtils
Utilities for Scala's standard
concurrent.Future
. - object Scheduler extends SchedulerCompanionImpl with Serializable
- object UncaughtExceptionReporter extends Serializable