Mistake in java docs for resizer
Here http://doc.akka.io/docs/akka/2.1.0-RC2/java/routing.html#Dynamically_Resizable_Routers
The snippet sayes
leaving out how to use the resizer
The snippet sayes
int lowerBound = 2;
int upperBound = 15;
DefaultResizer resizer = new DefaultResizer(lowerBound, upperBound);
ActorRef router3 = system.actorOf(
new Props(ExampleActor.class).withRouter(new RoundRobinRouter(nrOfInstances)));
leaving out how to use the resizer
Leave a comment
on 2012-11-26 00:13 *
By Patrik Nordwall
Assigned to set to Patrik Nordwall
Status changed from New to Accepted
Fixed in release-2.1 and master