Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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]