Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dreamoftheredchamber/java-multithreading
Modern Java concurrency code snippets
https://github.com/dreamoftheredchamber/java-multithreading
Last synced: about 1 month ago
JSON representation
Modern Java concurrency code snippets
- Host: GitHub
- URL: https://github.com/dreamoftheredchamber/java-multithreading
- Owner: DreamOfTheRedChamber
- Created: 2016-10-05T12:21:33.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-06T01:48:58.000Z (about 8 years ago)
- Last Synced: 2023-12-05T04:22:21.328Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 56.6 KB
- Stars: 4
- Watchers: 1
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# java multithreading
This repository contains code snippets for common Java concurrency techniques and some common concurrency design patterns.
#### Java concurrency APIs
* Thread basics - join, yield, future
* Executor services
* Semaphore/Mutex - locks, synchronized keyword
* Condition variables - wait, notify, condition
* Concurrency collections - CountDownLatch, ConcurrentHashMap, CopyOnWriteArrayList#### Common threadsafe implementations
* Counters
* Singleton
* BoundedBlockingQueue
* Readers/writers lock [To be finished]
* Delayed task scheduler [To be finished]