Examples of prefetch()


Examples of javax.media.Controller.prefetch()

        resetControllerError();

        //  Prefetch each managed Controller
        for(int i = 0; i < controllers.size(); i++) {
            Controller c = (Controller)controllers.elementAt(i);
            c.prefetch();
        }
       
        //  Prefetch this Player.  If it fails, then assume a
        //  ControllerErrorEvent was posted and return false.
View Full Code Here

Examples of javax.media.Controller.prefetch()

        resetControllerError();

        //  Prefetch each managed Controller
        for(int i = 0; i < controllers.size(); i++) {
            Controller c = (Controller)controllers.elementAt(i);
            c.prefetch();
        }
       
        //  Prefetch this Player.  If it fails, then assume a
        //  ControllerErrorEvent was posted and return false.
View Full Code Here

Examples of javax.media.bean.playerbean.MediaPlayer.prefetch()

        p.setTimeBase(null);
       
        p.syncStart(new Time(0));
        p.start();
        p.stop();
        p.prefetch();
        p.realize();
        p.close();
        p.deallocate();
       
      }
View Full Code Here

Examples of org.apache.sis.internal.storage.ChannelDataInput.prefetch()

     */
    final boolean prefetch() throws DataStoreException {
        try {
            final ChannelDataInput c = getView(ChannelDataInput.class);
            if (c != null) {
                return c.prefetch() >= 0;
            }
            /*
             * The above code is the usual case. The code below this point is the fallback used when only
             * an ImageInputStream was available. In such case, the ByteBuffer can only be the one created
             * by the above createByteBuffer() method, which is known to be backed by a writable array.
View Full Code Here

Examples of org.geotools.coverage.grid.GridCoverage2D.prefetch()

        }

        // prefetch to be faster afterwards.
        // This step is important since at this stage we might be loading tiles
        // from disk
        croppedGridCoverage.prefetch(intersectionEnvelope.toRectangle2D());

        return croppedGridCoverage;
    }

    /**
 
View Full Code Here

Examples of org.geotools.coverage.grid.GridCoverage2D.prefetch()

        }

        // prefetch to be faster afterwards.
        // This step is important since at this stage we might be loading tiles
        // from disk
        croppedGridCoverage.prefetch(intersectionEnvelope.toRectangle2D());

        return croppedGridCoverage;
    }
}
View Full Code Here

Examples of org.geotools.coverage.grid.GridCoverage2D.prefetch()

        }

        // prefetch to be faster afterwards.
        // This step is important since at this stage we might be loading tiles
        // from disk
        croppedGridCoverage.prefetch(intersectionEnvelope.toRectangle2D());

        return croppedGridCoverage;
    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.