Skip to content

yuriytkach/advanced_java_concurrency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample code from the Advanced Java Concurrency training

The code showcases different scenarios for multithreaded processing of some simple logic using synchronizations, locks, and different classes from java.util.concurrent.. The video for the training in Russian language can be found here: https://www.youtube.com/playlist?list=PL6jg6AGdCNaXo06LjCBmRao-qJdf38oKp

The code has some unit tests that validate the logic.

There are also some classes with main function in them that output information to console. You can call them in the following way:

  • mvn exec:java -Dexec.mainClass="ua.yet.adv.java.concurrency.OperationsDeadlock"
  • mvn exec:java -Dexec.mainClass="ua.yet.adv.java.concurrency.OperationsService"
  • mvn exec:java -Dexec.mainClass="ua.yet.adv.java.concurrency.OperationsCompletableFuture"
  • mvn exec:java -Dexec.mainClass="ua.yet.adv.java.concurrency.OperationsSemaphore"
  • mvn exec:java -Dexec.mainClass="ua.yet.adv.java.concurrency.OperationsSynchronizers"

About

Sample code from the Advanced Java Concurrency training

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages