=doc #13965 Fix wrong code sample for BalancingPool
(cherry picked from commit 24ce0605ac954d516a52d9ce14624414c1c79933)
This commit is contained in:
parent
7616a41733
commit
4e645bde23
1 changed files with 2 additions and 1 deletions
|
|
@ -59,6 +59,7 @@ import akka.routing.RoundRobinPool;
|
|||
import akka.routing.RoundRobinRoutingLogic;
|
||||
import akka.routing.ScatterGatherFirstCompletedGroup;
|
||||
import akka.routing.ScatterGatherFirstCompletedPool;
|
||||
import akka.routing.BalancingPool;
|
||||
import akka.routing.SmallestMailboxPool;
|
||||
|
||||
//#imports2
|
||||
|
|
@ -211,7 +212,7 @@ public class RouterDocTest {
|
|||
|
||||
//#balancing-pool-2
|
||||
ActorRef router10 =
|
||||
getContext().actorOf(new SmallestMailboxPool(5).props(
|
||||
getContext().actorOf(new BalancingPool(5).props(
|
||||
Props.create(Worker.class)), "router10");
|
||||
//#balancing-pool-2
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue