public static interface SequenceViewerExtension.PropertyRetrieverAndEditor.DiscardReferencesCallback
PropertyRetrieverAndEditor#getVisibleAnnotations(PropertyRetrieverAndEditor.DiscardReferencesCallback)
must be discarded.| Modifier and Type | Method and Description |
|---|---|
void |
discardReferences(boolean waitUntilReferencesDiscardedBeforeReturning)
indicates that values returned from a previous call to
PropertyRetrieverAndEditor#getVisibleAnnotations(PropertyRetrieverAndEditor.DiscardReferencesCallback)
are about to become invalidated and any references to them must be discarded. |
void discardReferences(boolean waitUntilReferencesDiscardedBeforeReturning)
PropertyRetrieverAndEditor#getVisibleAnnotations(PropertyRetrieverAndEditor.DiscardReferencesCallback)
are about to become invalidated and any references to them must be discarded.
The sequence viewer will first call this method with waitUntilReferencesDiscardedBeforeReturning==false on all listeners to indicate they should notify any background threads
to cancel.
Then the sequence viewer will call this method with waitUntilReferencesDiscardedBeforeReturning==true on all listeners, and each listener should block until any background tasks
have finished cancelling.waitUntilReferencesDiscardedBeforeReturning - true if the method should block until the references have been discarded.