Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add video and presentation URLs to project README #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Akka Java 8 Samples
For the Akka with Java 8 JetBrains Webinar 2016-09-13
# Akka actors with Java 8 - Samples
For the Akka with Java 8 JetBrains Webinar from 2016-09-13

Video: [via YouTube](https://www.youtube.com/watch?v=r4dryMdDZz0)

Presentation: [via Slideshare](http://www.slideshare.net/johanandren/introduction-to-akka-actors-with-java-8)


Dependencies:
* Java 8
* Maven 3
* Maven 3
9 changes: 3 additions & 6 deletions src/main/java/com/lightbend/akkasample/sample1/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,9 @@ public static void main(String[] args) {
final ActorRef counter = system.actorOf(Counter.props(), "counter");

for (int i = 0; i < 5; i++) {
new Thread(new Runnable() {
@Override
public void run() {
for (int j = 0; j < 5; j++) {
counter.tell(new Counter.Message(), ActorRef.noSender());
}
new Thread(() -> {
for (int j = 0; j < 5; j++) {
counter.tell(new Counter.Message(), ActorRef.noSender());
}
}).start();
}
Expand Down