+act #18356 Metrics based resizer for router
This commit is contained in:
parent
fb80ac8acb
commit
90cba9ce0d
19 changed files with 904 additions and 17 deletions
|
|
@ -338,7 +338,13 @@ public class RouterDocTest {
|
|||
getContext().actorOf(new RoundRobinPool(5).withResizer(resizer).props(
|
||||
Props.create(Worker.class)), "router30");
|
||||
//#resize-pool-2
|
||||
|
||||
|
||||
//#optimal-size-exploring-resize-pool
|
||||
ActorRef router31 =
|
||||
getContext().actorOf(FromConfig.getInstance().props(
|
||||
Props.create(Worker.class)), "router31");
|
||||
//#optimal-size-exploring-resize-pool
|
||||
|
||||
public void onReceive(Object msg) {}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue