object CompletedRequestMap
- Alphabetic
- By Inheritance
- CompletedRequestMap
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[E, A](entries: (Request[E, A], Exit[E, A])*): CompletedRequestMap
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- 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.
- 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
- val empty: CompletedRequestMap
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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
- 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
- def fromIterable[E, A](iterable: Iterable[(Request[E, A], Exit[E, A])]): CompletedRequestMap
Constructs a completed requests map from the specified results.
- def fromIterableOption[E, A](iterable: Iterable[(Request[E, A], Exit[E, Option[A]])]): CompletedRequestMap
Constructs a completed requests map from the specified optional results.
- 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(_)
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def single[E, A](request: Request[E, A], exit: Exit[E, A]): CompletedRequestMap
Constructs a completed requests map containing a single entry
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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.
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])