mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 14:59:25 +00:00
Changed the implementation for better understanding
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package com.iluwatar.halfsynchalfasync;
|
||||
|
||||
import java.util.concurrent.BlockingQueue;
|
||||
import java.util.concurrent.LinkedBlockingQueue;
|
||||
|
||||
public class QueuingLayer {
|
||||
BlockingQueue<Runnable> incomingQueue = new LinkedBlockingQueue<>();
|
||||
}
|
||||
Reference in New Issue
Block a user