<h2>org.das2.dataset.DataRequestThread</h2><p></p> <h2>DataRequestThread( )</h2> <p>Creates a new instance of DataRequestThread</p> <hr> <a name="cancelCurrentRequest"></a> <h2>cancelCurrentRequest</h2> cancelCurrentRequest( ) → void <p></p> <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=cancelCurrentRequest&unscoped_q=cancelCurrentRequest">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/dataset/DataRequestThread.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/dataset/DataRequestThread.html#cancelCurrentRequest">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/dataset/DataRequestThread.java">[view source]</a> <br> <br> <hr> <a name="request"></a> <h2>request</h2> request( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/dataset/DataSetDescriptor.html'>org.das2.dataset.DataSetDescriptor</a> dsd, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> start, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> end, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> resolution, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/dataset/DataRequestor.html'>org.das2.dataset.DataRequestor</a> requestor, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> monitor ) → void <p>Begins a data reqest operation that will be executed in a separate thread and pass the resulting DataSet to the org.das2.event.DataRequestListener#finished(org.das2.event.DataRequestEvent) finished() method of the <code>DataRequestor</code> specified.</p> <h3>Parameters</h3> dsd - the <code>DataSetDescriptor</code> used to obtain the <code>DataSet</code> <br> start - the start of the requested time interval <br> end - the end of the requested time interval <br> resolution - the requested resolution of the data set <br> requestor - <code>DataRequestor</code> that is notified when the data loading operation is complete. <br> monitor - a ProgressMonitor <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=request&unscoped_q=request">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/dataset/DataRequestThread.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/dataset/DataRequestThread.html#request">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/dataset/DataRequestThread.java">[view source]</a> <br> <br> <hr> <a name="requestAndWait"></a> <h2>requestAndWait</h2> requestAndWait( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/dataset/DataSetDescriptor.html'>org.das2.dataset.DataSetDescriptor</a> dsd, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html'>Object</a> params, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> start, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> end, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> resolution, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/dataset/DataRequestor.html'>org.das2.dataset.DataRequestor</a> requestor, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> monitor ) → void <p>Begins a data reqest operation that will be executed in a separate thread and pass the resulting DataSet to the org.das2.event.DataRequestListener#finished(org.das2.event.DataRequestEvent) finished() method of the <code>DataRequestor</code> specified. This method does not return until after the data loading is complete or the request had been canceled.</p> <h3>Parameters</h3> dsd - the <code>DataSetDescriptor</code> used to obtain the <code>DataSet</code> <br> params - extra parameters passed to the DataSetDescriptor#getDataSet(org.das2.util.Datum,org.das2.util.Datum,org.das2.util.Datum,org.das2.util.monitor.ProgressMonitor) getDataSet() method. (TODO: these are ignored) <br> start - the start of the requested time interval <br> end - the end of the requested time interval <br> resolution - the requested resolution of the data set <br> requestor - <code>DataRequestor</code> that is notified when the data loading operation is complete. <br> monitor - a ProgressMonitor <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=requestAndWait&unscoped_q=requestAndWait">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/dataset/DataRequestThread.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/dataset/DataRequestThread.html#requestAndWait">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/dataset/DataRequestThread.java">[view source]</a> <br> <br> <hr> <a name="run"></a> <h2>run</h2> run( ) → void <p></p> <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=run&unscoped_q=run">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/dataset/DataRequestThread.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/dataset/DataRequestThread.html#run">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/dataset/DataRequestThread.java">[view source]</a> <br> <br>