final class CompletedRequestMap extends AnyRef
A CompletedRequestMap
is a universally quantified mapping from requests
of type Request[E, A]
to results of type Either[E, A[
for all types E
and A
. The guarantee is that for any request of type Request[E, A]
, if
there is a corresponding value in the map, that value is of type
Either[E, A]
. This is used by the library to support data sources that
return different result types for different requests while guaranteeing that
results will be of the type requested.
- Self Type
- CompletedRequestMap
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CompletedRequestMap
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ++(that: CompletedRequestMap): CompletedRequestMap
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def insert[E, A](request: Request[E, A])(result: Either[E, A]): CompletedRequestMap
Appends the specified result to the completed requests map.
- def insertOption[E, A](request: Request[E, A])(result: Either[E, Option[A]]): CompletedRequestMap
Appends the specified optional result to the completed request map.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lookup[E, A](request: Request[E, A]): Option[Either[E, A]]
Retrieves the result of the specified request if it exists.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()