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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanExecute(long step) Can this notification be executed? That is, are all of it's dependencies satisfied.voidrun()Methods inherited from class io.deephaven.engine.updategraph.AbstractNotification
getNext, getPrev, isTerminal, mustExecuteWithUpdateGraphLock, setNext, setPrev, toString
-
Constructor Details
-
NotificationAdapter
-
-
Method Details
-
append
- Specified by:
appendin interfaceLogOutputAppendable- Overrides:
appendin classAbstractNotification
-
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
-
run
public void run()
-