Package com.illumon.iris.db.tables.live
Class NotificationWrapper
java.lang.Object
com.illumon.iris.db.v2.utils.AbstractNotification
com.illumon.iris.db.tables.live.NotificationWrapper
- All Implemented Interfaces:
com.fishlib.base.log.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 com.illumon.util.datastructures.linked.IntrusiveDoublyLinkedNode
IntrusiveDoublyLinkedNode.Adapter<NODE_TYPE extends IntrusiveDoublyLinkedNode<NODE_TYPE>>, IntrusiveDoublyLinkedNode.Impl<NODE_TYPE extends IntrusiveDoublyLinkedNode.Impl<NODE_TYPE>> -
Method Summary
Modifier and TypeMethodDescriptioncom.fishlib.base.log.LogOutputappend(com.fishlib.base.log.LogOutput logOutput) booleancanExecute(long step) Can this notification be executed? That is, are all of it's dependencies satisfied.voidrun()Methods inherited from class com.illumon.iris.db.v2.utils.AbstractNotification
getNext, getPrev, isTerminal, mustExecuteWithLtmLock, setNext, setPrev, toString
-
Method Details
-
append
public com.fishlib.base.log.LogOutput append(@NotNull com.fishlib.base.log.LogOutput logOutput) - Specified by:
appendin interfacecom.fishlib.base.log.LogOutputAppendable- 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()
-