Package io.deephaven.engine.updategraph
Class EmptyNotification
java.lang.Object
io.deephaven.engine.updategraph.AbstractNotification
io.deephaven.engine.updategraph.EmptyNotification
- All Implemented Interfaces:
LogOutputAppendable
,NotificationQueue.Notification
,IntrusiveDoublyLinkedNode<NotificationQueue.Notification>
,Runnable
- Direct Known Subclasses:
EmptyErrorNotification
A
NotificationQueue.Notification
that does not actually notify anything.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.util.datastructures.linked.IntrusiveDoublyLinkedNode
IntrusiveDoublyLinkedNode.Adapter<NODE_TYPE extends IntrusiveDoublyLinkedNode<NODE_TYPE>>, IntrusiveDoublyLinkedNode.Impl<NODE_TYPE extends IntrusiveDoublyLinkedNode.Impl<NODE_TYPE>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canExecute
(long step) Can this notification be executed? That is, are all of it's dependencies satisfied.boolean
Terminal notifications guarantee that they will not queue additional notifications or mutate data structures that should result in additional notifications.final void
run()
Methods inherited from class io.deephaven.engine.updategraph.AbstractNotification
getNext, getPrev, mustExecuteWithUpdateGraphLock, setNext, setPrev, toString
-
Constructor Details
-
EmptyNotification
public EmptyNotification()
-
-
Method Details
-
isTerminal
public boolean isTerminal()Description copied from interface:NotificationQueue.Notification
Terminal notifications guarantee that they will not queue additional notifications or mutate data structures that should result in additional notifications. They are in turn guaranteed to be called after all non-terminal notifications for a given cycle through the notification queue.- Specified by:
isTerminal
in interfaceNotificationQueue.Notification
- Overrides:
isTerminal
in classAbstractNotification
- Returns:
- True iff this notification is terminal.
-
canExecute
public boolean canExecute(long step) Description copied from interface:NotificationQueue.Notification
Can this notification be executed? That is, are all of it's dependencies satisfied.- Parameters:
step
- The step for which we are testing satisfaction- Returns:
- true if this notification can be executed, false if it has unmet dependencies
-
append
- Specified by:
append
in interfaceLogOutputAppendable
- Overrides:
append
in classAbstractNotification
-
run
public final void run()
-