Update transactor docs and switch to compiled examples

This commit is contained in:
Peter Vlugter 2011-12-21 21:32:20 +13:00
parent 45527ec007
commit 2a5fc8e202
18 changed files with 768 additions and 651 deletions

View file

@ -0,0 +1,27 @@
/**
* Copyright (C) 2009-2011 Typesafe Inc. <http://www.typesafe.com>
*/
package akka.docs.transactor;
//#class
import akka.actor.ActorRef;
public class Increment {
private ActorRef friend = null;
public Increment() {}
public Increment(ActorRef friend) {
this.friend = friend;
}
public boolean hasFriend() {
return friend != null;
}
public ActorRef getFriend() {
return friend;
}
}
//#class