public static void main(String[] args) throws Exception {
ActorSystem _system = ActorSystem
.create("ScatterGatherFirstCompletedRouterExample");
ActorRef scatterGatherFirstCompletedRouter = _system.actorOf(new Props(
RandomTimeActor.class)
.withRouter(new ScatterGatherFirstCompletedRouter(5, Duration
.create(2, "seconds"))),
"myScatterGatherFirstCompletedRouterActor");
Timeout timeout = new Timeout(Duration.create(10, "seconds"));
Future<Object> futureResult = akka.pattern.Patterns.ask(