+act #18356 Metrics based resizer for router

This commit is contained in:
Kailuo Wang 2015-08-21 21:03:57 -04:00
parent fb80ac8acb
commit 90cba9ce0d
19 changed files with 904 additions and 17 deletions

View file

@ -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) {}
}