3
votes
2answers
197 views

I have data that sends in “bursts” of 100 records with a significant delay. How do I structure my classes for multithreading?

My datasource sends information in 100 batches of 100 records with a delay of 1 to 3 seconds between batches. I would like to start processing data as soon as it's received, but I'm not sure how to ...
6
votes
4answers
2k views

Real world usage of DelayQueue

What would be a real world usage of DelayQueue, what common problem it was design to solve?