Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Rohan Sircar
1abc30070c
|
4 лет назад | |
---|---|---|
.gitignore | 4 лет назад | |
ActorDemo.sc | 4 лет назад | |
LICENSE | 4 лет назад | |
README.md | 4 лет назад |
README.md
Akka Actors Demo
An experiment to see how the actor model can be used to synchronize / encapsulate mutable state without the use of locks.
Usage
./ActorsDemo.sc
Sample output:
13:02:58.966 [TestActors-akka.actor.default-dispatcher-3] INFO ammonite.$file.AkkaActorsDemo.ActorDemo$RootActor$ - --- Beginning ---
13:02:58.967 [TestActors-akka.actor.default-dispatcher-5] INFO ammonite.$file.AkkaActorsDemo.ActorDemo$CounterActor$CounterActor - Value of counter is 5
CounterResult(5)