Package io.deephaven.engine.updategraph
Class NotificationAdapter
java.lang.Object
io.deephaven.engine.updategraph.AbstractNotification
io.deephaven.engine.updategraph.NotificationAdapter
- All Implemented Interfaces:
LogOutputAppendable
,NotificationQueue.Notification
,IntrusiveDoublyLinkedNode<NotificationQueue.Notification>
,Runnable
Implementation of
NotificationQueue.Notification
that wraps another, in order to allow overrides.-
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.void
run()
Methods inherited from class io.deephaven.engine.updategraph.AbstractNotification
getNext, getPrev, isTerminal, mustExecuteWithUpdateGraphLock, setNext, setPrev, toString
-
Constructor Details
-
NotificationAdapter
-
-
Method Details
-
append
- Specified by:
append
in interfaceLogOutputAppendable
- Overrides:
append
in classAbstractNotification
-
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
-
run
public void run()
-