All Questions
1 question
26
votes
7
answers
25k
views
How to implement PriorityBlockingQueue with ThreadPoolExecutor and custom tasks
I've searched a lot but could not find a solutuion to my problem.
I have my own class, BaseTask, that uses a ThreadPoolExecutor to handle tasks. I want task prioritization, but when I try to use a ...