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

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

Method Detail


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.

Submit a bug or feature
Copyright 1999-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the Specification License for more details.
Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.