Package io.deephaven.engine.testutil
Class TestNotification
java.lang.Object
com.illumon.iris.db.v2.utils.AbstractNotification
com.illumon.iris.db.v2.utils.AbstractIndexUpdateNotification
io.deephaven.engine.testutil.TestNotification
- All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable,NotificationQueue.IndexUpdateNotification,NotificationQueue.Notification,IntrusiveDoublyLinkedNode<NotificationQueue.Notification>,Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.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 TypeMethodDescriptionvoidvoidbooleancanExecute(long step) Can this notification be executed? That is, are all of it's dependencies satisfied.voidreset()voidrun()Methods inherited from class com.illumon.iris.db.v2.utils.AbstractNotification
append, getNext, getPrev, isTerminal, mustExecuteWithLtmLock, setNext, setPrev, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.illumon.util.datastructures.linked.IntrusiveDoublyLinkedNode
getNext, getPrev, setNext, setPrevMethods inherited from interface com.fishlib.base.log.LogOutputAppendable
appendMethods inherited from interface com.illumon.iris.db.tables.live.NotificationQueue.Notification
isTerminal, mustExecuteWithLtmLock
-
Constructor Details
-
TestNotification
public TestNotification()
-
-
Method Details
-
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() -
reset
public void reset() -
assertInvoked
public void assertInvoked() -
assertNotInvoked
public void assertNotInvoked()
-