Refactoring the use of !! to ?+.get for Akka internal code
This commit is contained in:
parent
6ddee70e0b
commit
9c1a50ba2c
11 changed files with 34 additions and 34 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue