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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanExecute(long step) Can this notification be executed? That is, are all of it's dependencies satisfied.booleanTerminal notifications guarantee that they will not queue additional notifications or mutate data structures that should result in additional notifications.final voidrun()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.NotificationTerminal 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:
isTerminalin interfaceNotificationQueue.Notification- Overrides:
isTerminalin classAbstractNotification- Returns:
- True iff this notification is terminal.
-
canExecute
public boolean canExecute(long step) Description copied from interface:NotificationQueue.NotificationCan 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:
appendin interfaceLogOutputAppendable- Overrides:
appendin classAbstractNotification
-
run
public final void run()
-