120121122123124125126127128
public UntypedActor create() { return new WCMapReduceApp(10, "/Users/brlee/Workspace/WordCountFiles", 3); } }); actor.start(); actor.sendOneWay(new StartWork()); } }
3031323334353637383940
ActorRef counter = UntypedActor.actorOf(new UntypedActorFactory() { public UntypedActor create() { return new UntypedCounter(name); } }); counter.start(); counters.add(counter); } failer = UntypedActor.actorOf(UntypedFailer.class); failer.start(); }
3132333435363738394041
ActorRef counter = UntypedActor.actorOf(new UntypedActorFactory() { public UntypedActor create() { return new UntypedCoordinatedCounter(name); } }); counter.start(); counters.add(counter); } failer = UntypedActor.actorOf(UntypedFailer.class); failer.start(); }