Browse files

cleaning up

  • Loading branch information...
1 parent a302b34 commit 22b80ffd8f979dc082251da9e75d47e8a9269e04 @danielribeiro committed Dec 16, 2010
Showing with 1 addition and 5 deletions.
  1. +0 −1 java/helloakka/PingActor.java
  2. +1 −4 lib/basic_example.rb
View
1 java/helloakka/PingActor.java
@@ -14,7 +14,6 @@ public static void main(String... args) throws Exception {
actor.sendOneWay("hello actor world");
TimeUnit.SECONDS.sleep(1);
ActorRegistry.shutdownAll();
- Dispatchers.newExecutorBasedEventDrivenWorkStealingDispatcher("pooled-dispatcher");
}
@Override
View
5 lib/basic_example.rb
@@ -11,12 +11,9 @@ def self.create(*args)
def onReceive(message)
puts "!!! Acted on: #{message}"
end
-
end
actor = Akka::UntypedActor.actorOf(PingActor).start()
-actor.sendOneWay("hello actor world")
-
-require 'pp'
+actor.sendOneWay "hello actor world"
sleep 1
Akka::ActorRegistry.shutdownAll()

0 comments on commit 22b80ff

Please sign in to comment.