Package io.deephaven.enterprise.test
Class CapturingUpdateGraph
java.lang.Object
io.deephaven.enterprise.test.CapturingUpdateGraph
- All Implemented Interfaces:
- LogOutputAppendable,- NotificationQueue,- NotificationQueue.Dependency,- UpdateGraph,- UpdateSourceRegistrar
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.deephaven.engine.updategraph.NotificationQueueNotificationQueue.Dependency, NotificationQueue.ErrorNotification, NotificationQueue.Notification
- 
Constructor SummaryConstructorsConstructorDescriptionCapturingUpdateGraph(@NotNull io.deephaven.engine.testutil.ControlledUpdateGraph delegate) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddNotification(@NotNull NotificationQueue.Notification notification) voidaddNotifications(@NotNull Collection<? extends NotificationQueue.Notification> notifications) voidclock()booleangetName()booleanmaybeAddNotification(@NotNull NotificationQueue.Notification notification, long deliveryStep) intvoidvoidremoveSource(@NotNull Runnable updateSource) voidvoidresetForUnitTests(boolean after) <T extends Exception>
 voidrunWithinUnitTestCycle(@NotNull ThrowingRunnable<T> runnable) <T extends Exception>
 voidrunWithinUnitTestCycle(@NotNull ThrowingRunnable<T> runnable, boolean satisfied) booleansatisfied(long step) booleanbooleansetSerialTableOperationsSafe(boolean newValue) voidstop()booleanMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.engine.updategraph.NotificationQueue.DependencygetUpdateGraphMethods inherited from interface io.deephaven.engine.updategraph.UpdateGraphallowSerialTableOperations, allowSerialTableOperations, cast, checkInitiateSerialTableOperation, requestSignal, runWhenIdleMethods inherited from interface io.deephaven.engine.updategraph.UpdateSourceRegistrarremoveSources
- 
Constructor Details- 
CapturingUpdateGraphpublic CapturingUpdateGraph(@NotNull @NotNull io.deephaven.engine.testutil.ControlledUpdateGraph delegate) 
 
- 
- 
Method Details- 
addSource- Specified by:
- addSourcein interface- UpdateSourceRegistrar
 
- 
refreshSourcespublic void refreshSources()
- 
append- Specified by:
- appendin interface- LogOutputAppendable
 
- 
satisfiedpublic boolean satisfied(long step) - Specified by:
- satisfiedin interface- NotificationQueue.Dependency
 
- 
getUpdateGraph- Specified by:
- getUpdateGraphin interface- NotificationQueue.Dependency
 
- 
addNotification- Specified by:
- addNotificationin interface- NotificationQueue
 
- 
addNotificationspublic void addNotifications(@NotNull @NotNull Collection<? extends NotificationQueue.Notification> notifications) - Specified by:
- addNotificationsin interface- NotificationQueue
 
- 
maybeAddNotificationpublic boolean maybeAddNotification(@NotNull @NotNull NotificationQueue.Notification notification, long deliveryStep) - Specified by:
- maybeAddNotificationin interface- NotificationQueue
 
- 
getName- Specified by:
- getNamein interface- UpdateGraph
 
- 
exclusiveLock- Specified by:
- exclusiveLockin interface- UpdateGraph
 
- 
clock- Specified by:
- clockin interface- UpdateGraph
 
- 
parallelismFactorpublic int parallelismFactor()- Specified by:
- parallelismFactorin interface- UpdateGraph
 
- 
logDependencies- Specified by:
- logDependenciesin interface- UpdateGraph
 
- 
currentThreadProcessesUpdatespublic boolean currentThreadProcessesUpdates()- Specified by:
- currentThreadProcessesUpdatesin interface- UpdateGraph
 
- 
serialTableOperationsSafepublic boolean serialTableOperationsSafe()- Specified by:
- serialTableOperationsSafein interface- UpdateGraph
 
- 
setSerialTableOperationsSafepublic boolean setSerialTableOperationsSafe(boolean newValue) - Specified by:
- setSerialTableOperationsSafein interface- UpdateGraph
 
- 
supportsRefreshingpublic boolean supportsRefreshing()- Specified by:
- supportsRefreshingin interface- UpdateGraph
 
- 
requestRefreshpublic void requestRefresh()- Specified by:
- requestRefreshin interface- UpdateGraph
- Specified by:
- requestRefreshin interface- UpdateSourceRegistrar
 
- 
removeSource- Specified by:
- removeSourcein interface- UpdateSourceRegistrar
 
- 
runWithinUnitTestCyclepublic <T extends Exception> void runWithinUnitTestCycle(@NotNull @NotNull ThrowingRunnable<T> runnable) throws T - Throws:
- T extends Exception
 
- 
runWithinUnitTestCyclepublic <T extends Exception> void runWithinUnitTestCycle(@NotNull @NotNull ThrowingRunnable<T> runnable, boolean satisfied) throws T - Throws:
- T extends Exception
 
- 
resetForUnitTestspublic void resetForUnitTests(boolean after) 
- 
stoppublic void stop()- Specified by:
- stopin interface- UpdateGraph
 
 
-