javax.media
Interface Prefetchable


public abstract interface Prefetchable

This interface would be implemented on a Renderer or Multiplexer plugin if it has some internal buffers that require prefetching to minimize startup latency.


Method Summary
 boolean isPrefetched()
          Returns the prefetch state of the Renderer or Multiplexer plugin.
 

Method Detail

isPrefetched

public boolean isPrefetched()
Returns the prefetch state of the Renderer or Multiplexer plugin. If the plugin implementing this interface has sufficient data to start processing with minimum latency, then it returns true. If it returns false, then the enclosing Player can call process on the plugin with some data. Once a plugin reaches its prefetched state, it remains in that state until a reset call.