First draft for a real time plugin interface. I need some help figuring out if this is the right way to do it, i.e. have a blocking queue that the TSD controls while the plugin implementation simply watches for data, OR let the implementation handle the queue, etc.
Add a little BoundQueue class that wraps a LinkedBoundQueue to limit access and provide some stats.