final
class
CompletedRequestMap extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
contains(request: Any): Boolean
-
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
insert[E, A](request: Request[E, A])(result: Either[E, A]): CompletedRequestMap
-
def
insertOption[E, A](request: Request[E, A])(result: Either[E, Option[A]]): CompletedRequestMap
-
final
def
isInstanceOf[T0]: Boolean
-
def
lookup[E, A](request: Request[E, A]): Option[Either[E, A]]
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
A
CompletedRequestMap
is a universally quantified mapping from requests of typeRequest[E, A]
to results of typeEither[E, A]
for all typesE
andA
. The guarantee is that for any request of typeRequest[E, A]
, if there is a corresponding value in the map, that value is of typeEither[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.