This article is a reading note, "The Art of Java Concurrent Programming"
Article Directory
1. What is a blocking queue?
2. Introduce the blocking queue in java
- ArrayBlockingQueue: A bounded blocking queue composed of array structures.
- LinkedBlockingQueue: A bounded blocking queue composed of a linked list structure.
- PriorityBlockingQueue: An unbounded blocking queue that supports prioritization.
- DelayQueue: An unbounded blocking queue implemented using priority queues.
- SynchronousQueue: A blocking queue that does not store elements.
- LinkedTransferQueue: An unbounded blocking queue composed of a linked list structure.
- LinkedBlockingDeque: A bidirectional blocking queue composed of a linked list structure.