Packages

object CompletedRequestMap

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompletedRequestMap
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait UnsafeApi extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[E, A](entries: (Request[E, A], Exit[E, A])*): CompletedRequestMap
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. def combine(maps: Iterable[CompletedRequestMap]): CompletedRequestMap

    Combines all completed request maps into a single one.

    Combines all completed request maps into a single one.

    This method is left-associated, meaning that if a request is present in multiple maps, it will be overriden by the last map in the list.

  8. def die[E, A](requests: Chunk[Request[E, A]], error: Throwable): CompletedRequestMap

    Constructs a completed requests map that "dies" all the specified requests with the specified throwable

  9. val empty: CompletedRequestMap
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def fail[E, A](requests: Chunk[Request[E, A]], error: E): CompletedRequestMap

    Constructs a completed requests map that fails all the specified requests with the specified error

  13. def failCause[E, A](requests: Chunk[Request[E, A]], cause: Cause[E]): CompletedRequestMap

    Constructs a completed requests map that fails all the specified requests with the specified cause

  14. def fromIterable[E, A](iterable: Iterable[(Request[E, A], Exit[E, A])]): CompletedRequestMap

    Constructs a completed requests map from the specified results.

  15. def fromIterableOption[E, A](iterable: Iterable[(Request[E, A], Exit[E, Option[A]])]): CompletedRequestMap

    Constructs a completed requests map from the specified optional results.

  16. def fromIterableWith[E, A, B](iterable: Iterable[A])(f1: (A) => Request[E, B], f2: (A) => Exit[E, B]): CompletedRequestMap

    Constructs a completed requests map an iterable of A and functions that map each A to a request and a result

    Constructs a completed requests map an iterable of A and functions that map each A to a request and a result

    f1

    function that maps each element of A to a request

    f2

    function that maps each element of A to an Exit, e.g., Exit.succeed(_)

  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  23. def single[E, A](request: Request[E, A], exit: Exit[E, A]): CompletedRequestMap

    Constructs a completed requests map containing a single entry

  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. val unsafe: UnsafeApi

    Unsafe API for constructing completed request maps.

    Unsafe API for constructing completed request maps.

    Constructing a CompletedRequestMap via these methods can improve performance in some cases as they allow skipping the creation of intermediate Iterable[ Tuple2[_, _] ].

    NOTE: These methods are marked as unsafe because they do not check that the requests and responses are of the same size. It is the responsibility of the caller to ensure that the provided requests maps elements 1-to-1 to the responses.

  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped