Package io.deephaven.engine.updategraph
Interface UpdateSourceRegistrar
- All Superinterfaces:
LogOutputAppendable,NotificationQueue.Dependency
- All Known Subinterfaces:
UpdateGraph
- All Known Implementing Classes:
BaseUpdateGraph,EventDrivenUpdateGraph,OneShotUpdateCombiner,PeriodicUpdateGraph,PoisonedUpdateGraph,UpdateSourceCombiner
Common interface for classes that can register and de-register update sources.
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a source to this registrar.voidremoveSource(@NotNull Runnable updateSource) Remove a source from this registrar.default voidremoveSources(Collection<Runnable> sourcesToRemove) Remove a collection of sources from the list of refreshing sources.voidRequest that the next update cycle begin as soon as practicable.Methods inherited from interface io.deephaven.base.log.LogOutputAppendable
appendMethods inherited from interface io.deephaven.engine.updategraph.NotificationQueue.Dependency
getUpdateGraph, getUpdateGraph, satisfied
-
Method Details
-
addSource
Add a source to this registrar.- Parameters:
updateSource- The table to add
-
removeSource
Remove a source from this registrar.- Parameters:
updateSource- The table to remove
-
removeSources
Remove a collection of sources from the list of refreshing sources.- Parameters:
sourcesToRemove- The sources to remove from the list of refreshing sources- ImplNote:
- This will not set the sources as
non-refreshing.
-
requestRefresh
void requestRefresh()Request that the next update cycle begin as soon as practicable.
-