<h2>org.autoplot.datasource.ReferenceCache.ReferenceCacheEntry</h2><p>Keep track of the status of a load. This keeps track of the thread that is actually loading the data and it's</p> <hr> <a name="exception"></a> <h2>exception</h2> exception( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html'>java.lang.Exception</a> ex ) → void <p>Notify the reference cache that the load resulted in an exception. Threads that are parked will continue</p> <h3>Parameters</h3> ex - the exception that occurred during the load. <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=exception&unscoped_q=exception">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/ReferenceCache.ReferenceCacheEntry.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/ReferenceCache.ReferenceCacheEntry.html#exception">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/ReferenceCache.ReferenceCacheEntry.java#l158">[view source]</a> <br> <br> <hr> <a name="finished"></a> <h2>finished</h2> finished( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> ds ) → void <p>hand the dataset resulting from the completed load off to the reference cache. Threads that are parked will continue. If the dataset is mutable, then a copy is made.</p> <h3>Parameters</h3> ds - null or the dataset resolved from the URI. <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=finished&unscoped_q=finished">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/ReferenceCache.ReferenceCacheEntry.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/ReferenceCache.ReferenceCacheEntry.html#finished">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/ReferenceCache.ReferenceCacheEntry.java#l135">[view source]</a> <br> <br> <hr> <a name="park"></a> <h2>park</h2> park( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> mon ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> <p>park this thread until the other guy has finished loading.</p> <h3>Parameters</h3> mon - monitor that will monitor the load status. <h3>Returns:</h3> the dataset <br><br> <a href="https://github.com/autoplot/dev/search?q=park&unscoped_q=park">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/ReferenceCache.ReferenceCacheEntry.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/ReferenceCache.ReferenceCacheEntry.html#park">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/ReferenceCache.ReferenceCacheEntry.java#l117">[view source]</a> <br> <br> <hr> <a name="shouldILoad"></a> <h2>shouldILoad</h2> shouldILoad( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html'>java.lang.Thread</a> t ) → boolean <p>query this to see if the current thread should load the resource, or just park while the loading thread loads the resource.</p> <h3>Parameters</h3> t - the current thread (Thread.currentThread()) <h3>Returns:</h3> true if the data should be loaded. <br><br> <a href="https://github.com/autoplot/dev/search?q=shouldILoad&unscoped_q=shouldILoad">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/ReferenceCache.ReferenceCacheEntry.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/ReferenceCache.ReferenceCacheEntry.html#shouldILoad">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/ReferenceCache.ReferenceCacheEntry.java#l102">[view source]</a> <br> <br> <hr> <a name="toString"></a> <h2>toString</h2> toString( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> <p></p> <h3>Returns:</h3> java.lang.String <br><br> <a href="https://github.com/autoplot/dev/search?q=toString&unscoped_q=toString">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/ReferenceCache.ReferenceCacheEntry.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/ReferenceCache.ReferenceCacheEntry.html#toString">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/ReferenceCache.ReferenceCacheEntry.java#l173">[view source]</a> <br> <br> <hr> <a name="wasGarbageCollected"></a> <h2>wasGarbageCollected</h2> wasGarbageCollected( ) → boolean <p>returns true if the entry was loaded, but now has been garbage collected.</p> <h3>Returns:</h3> true if the reference was garbage collected and is no longer available. <br><br> <a href="https://github.com/autoplot/dev/search?q=wasGarbageCollected&unscoped_q=wasGarbageCollected">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/datasource/ReferenceCache.ReferenceCacheEntry.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/datasource/ReferenceCache.ReferenceCacheEntry.html#wasGarbageCollected">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/DataSource/src/org/autoplot/datasource/ReferenceCache.ReferenceCacheEntry.java#l168">[view source]</a> <br> <br>