Interface SequenceViewerExtension.PropertyRetrieverAndEditor.DiscardReferencesCallback
- 
- Enclosing class:
 - SequenceViewerExtension.PropertyRetrieverAndEditor
 
public static interface SequenceViewerExtension.PropertyRetrieverAndEditor.DiscardReferencesCallbackUsed for indicating that references to values returned fromSequenceViewerExtension.PropertyRetrieverAndEditor.getVisibleAnnotations(PropertyRetrieverAndEditor.DiscardReferencesCallback)must be discarded. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddiscardReferences(boolean waitUntilReferencesDiscardedBeforeReturning)indicates that values returned from a previous call toSequenceViewerExtension.PropertyRetrieverAndEditor.getVisibleAnnotations(PropertyRetrieverAndEditor.DiscardReferencesCallback)are about to become invalidated and any references to them must be discarded. 
 - 
 
- 
- 
Method Detail
- 
discardReferences
void discardReferences(boolean waitUntilReferencesDiscardedBeforeReturning)
indicates that values returned from a previous call toSequenceViewerExtension.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.- Parameters:
 waitUntilReferencesDiscardedBeforeReturning- true if the method should block until the references have been discarded.
 
 - 
 
 -