PriorityBlockingQueue is unbounded, but I need to bound it somehow. What is the best way to achieve that?
PriorityBlockingQueue
For information, the bounded PriorityBlo
PriorityBlo
There is an implementation in the ConcurrencyUtils repo.