Package com.illumon.iris.db.v2.utils
Class TerminalNotification
java.lang.Object
com.illumon.iris.db.v2.utils.AbstractNotification
com.illumon.iris.db.v2.utils.TerminalNotification
- All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable
,NotificationQueue.Notification
,IntrusiveDoublyLinkedNode<NotificationQueue.Notification>
,Runnable
- Direct Known Subclasses:
UpdateCommitter
public abstract class TerminalNotification extends AbstractNotification
-
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 Modifier Constructor Description protected
TerminalNotification()
-
Method Summary
Modifier and Type Method Description boolean
canExecute(long step)
Can this notification be executed? That is, are all of it's dependencies satisfied.Methods inherited from class com.illumon.iris.db.v2.utils.AbstractNotification
append, getNext, getPrev, isTerminal, mustExecuteWithLtmLock, setNext, setPrev, toString
-
Constructor Details
-
TerminalNotification
protected TerminalNotification()
-
-
Method Details
-
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
-