javax.media
接口 Prefetchable


public 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.


方法摘要
 boolean isPrefetched()
          Returns the prefetch state of the Renderer or Multiplexer plugin.
 

方法详细信息

isPrefetched

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.