Any way to know current EDT queue size
Is there any way to determine how many items are currently queued to be processed by the EDT? We are trying to assemble some monitors for various queues throughout our application, and have several producer/consumer queues that end up pushing UI updates to the EDT. We would like to be able to watch the effect that throttling the producers has on how busy the EDT is.
[Producer thread] --> [Blocking Queue] <-- [Consumer Thread] --> [EDT Thread]