Class/Object

com.roboxue.niffler

AsyncExecution

Related Docs: object AsyncExecution | package niffler

Permalink

case class AsyncExecution[T] extends Product with Serializable

Use companion object to create an instance. Basically a rich wrapper around a promise This class wraps all immutable information about a round of execution

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AsyncExecution
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def await(timeout: Duration): ExecutionResult[T]

    Permalink

    Wrapper around Await(promise.future, timeout), yield a more friendly NifflerTimeoutException on timeout

    Wrapper around Await(promise.future, timeout), yield a more friendly NifflerTimeoutException on timeout

    timeout

    either Duration.Inf or a FiniteDuration

    returns

    execution result if successfully executed

    Exceptions thrown

    NifflerEvaluationException if runtime exception encountered

    NifflerTimeoutException if timeout

  6. val clock: Clock

    Permalink

    the source of time, useful when testing

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. val executionId: Int

    Permalink

    unique id for this execution

  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. val forToken: Token[T]

    Permalink

    the token being invoked

  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getExecutionSnapshot: ExecutionSnapshot

    Permalink
  14. val initialCache: ExecutionCache

    Permalink

    the cache being reused

  15. def isCancelled: Boolean

    Permalink
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. val logic: Logic

    Permalink

    the logic being evaluated

  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. val promise: Promise[ExecutionResult[T]]

    Permalink
  22. def requestCancellation(reason: String): Unit

    Permalink
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. val system: ActorSystem

    Permalink

    the akka actor system used to create actors

  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped