object RequestM
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RequestM
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def failed[T](ex: Throwable)(implicit enclosing: FullName, file: File, line: Line): RequestM[T]
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
prep[T]()(implicit enclosing: FullName, file: File, line: Line): RequestM[T]
This returns a newly-created RequestM, outside of the usual Requester pathways.
This returns a newly-created RequestM, outside of the usual Requester pathways. This is slightly dangerous, but useful -- think of it as the counterpart to creating a Promise and returning its .future. The difference here is that we're using the same object for both sides -- you can pass the returned RequestM around, map over it, and so on, and resolve it at the appropriate time.
If you use prep/resolve, it is your responsibility to call resolve only at a safe time, inside the Actor's receive loop. (Or inside persist() in a PersistentActor, or some such.) Do this only when necessary; normally, you should work through .request().
- def successful[T](result: T)(implicit enclosing: FullName, file: File, line: Line): RequestM[T]
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )