Private class that implements the long-running collector and reporter of task data. The task blocks on the queue, and whenever there is a report ready notifies all installed listeners.
NOTE: The commented-out code here may still be useful to make sure that the single-threaded queue keeps up. It was originally used just to to observe performance, and it's unclear whether it's worth reporting anywhere, and where to report it.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.