final class StatusReply[+T] extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- StatusReply
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def equals(other: Any): Boolean
- Definition Classes
- StatusReply → AnyRef → Any
- def getError: Throwable
Java API: returns the exception if the reply is a failure, or throws an exception if not.
- def getValue: T
Java API: in the case of a successful reply returns the value, if the reply was not successful the exception the failure was created with is thrown
- def hashCode(): Int
- Definition Classes
- StatusReply → AnyRef → Any
- def isError: Boolean
- def isSuccess: Boolean
- def toString(): String
- Definition Classes
- StatusReply → AnyRef → Any
Generic top-level message type for replies that signal failure or success. Convenient to use together with the
askWithStatus
ask variants.Create using the factory methods StatusReply#success and StatusReply#error.
Akka contains predefined serializers for the wrapper type and the textual error messages.
the type of value a successful reply would have