Refactoring the use of !! to ?+.get for Akka internal code

This commit is contained in:
Viktor Klang 2011-06-13 15:29:35 +02:00
parent 6ddee70e0b
commit 9c1a50ba2c
11 changed files with 34 additions and 34 deletions

View file

@ -665,7 +665,7 @@ class DefaultClusterNode private[akka] (
.build
replicaConnectionsForReplicationFactor(replicationFactor) foreach { connection
(connection !! (command, remoteDaemonAckTimeout)) match {
(connection ? (command, remoteDaemonAckTimeout)).as[Status] match {
case Some(Success)
EventHandler.debug(this, "Replica for [%s] successfully created".format(actorRef.address))