public void | drain()Drains the queued data from a Renderer
or Multiplexer plugin by continuing the processing
until the internal buffer is empty. The method blocks until
the draining is complete.
If drain() is invoked on a stopped Renderer or
Multiplexer that has buffered data, the
method will block until the plugin is started and the data buffer
becomes empty. If drain() is invoked by one thread, and another
continues to fill the data queue, the operation will not complete.
To abort a drain call, the reset and
close method on the plugin can be used.
|