Forward-porting documentation-fixes and small API problems from release-1.2

This commit is contained in:
Viktor Klang 2011-08-11 19:29:57 +02:00
parent d52d70540c
commit 86bd9aaa51
2 changed files with 5 additions and 5 deletions

View file

@ -25,7 +25,7 @@ package japi {
* Abstraction for unification of sender and senderFuture for later reply.
* Can be stored away and used at a later point in time.
*
* The possible reply channel which can be passed into ! and safe_! is always
* The possible reply channel which can be passed into ! and tryTell is always
* untyped, as there is no way to utilize its real static type without
* requiring runtime-costly manifests.
*/
@ -135,9 +135,9 @@ case object NullChannel extends UntypedChannel {
You have probably:
1. Sent a message to an Actor from an instance that is NOT an Actor.
2. Invoked a method on an TypedActor from an instance NOT an TypedActor.
You may want to have a look at safe_! for a variant returning a Boolean""")
You may want to have a look at tryTell for a variant returning a Boolean""")
}
def tryTell(msg: Any)(implicit channel: UntypedChannel, dummy: Int = 0): Boolean = false
override def tryTell(msg: Any)(implicit channel: UntypedChannel): Boolean = false
}
/**

View file

@ -28,8 +28,8 @@ akka {
actor {
timeout = 5 # Default timeout for Future based invocations
# - Actor: !! && ?
# - UntypedActor: sendRequestReply && ask
# - Actor: ask && ?
# - UntypedActor: ask
# - TypedActor: methods with non-void return type
serialize-messages = off # Does a deep clone of (non-primitive) messages to ensure immutability
throughput = 5 # Default throughput for all Dispatcher, set to 1 for complete fairness