Package com.illumon.iris.db.v2
Class InstrumentedListenerBase.NotificationBase
java.lang.Object
com.illumon.iris.db.v2.utils.AbstractNotification
com.illumon.iris.db.v2.utils.AbstractIndexUpdateNotification
com.illumon.iris.db.v2.InstrumentedListenerBase.NotificationBase
- All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable
,NotificationQueue.IndexUpdateNotification
,NotificationQueue.Notification
,IntrusiveDoublyLinkedNode<NotificationQueue.Notification>
,Runnable
- Direct Known Subclasses:
InstrumentedListener.Notification
,InstrumentedShiftAwareListener.Notification
- Enclosing class:
- InstrumentedListenerBase
protected abstract class InstrumentedListenerBase.NotificationBase
extends AbstractIndexUpdateNotification
implements com.fishlib.base.log.LogOutputAppendable
-
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 TypeMethodDescriptionfinal com.fishlib.base.log.LogOutput
append
(com.fishlib.base.log.LogOutput logOutput) final boolean
canExecute
(long step) Can this notification be executed? That is, are all of it's dependencies satisfied.abstract void
run()
final String
toString()
Methods inherited from class com.illumon.iris.db.v2.utils.AbstractNotification
getNext, getPrev, isTerminal, mustExecuteWithLtmLock, setNext, setPrev
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.illumon.util.datastructures.linked.IntrusiveDoublyLinkedNode
getNext, getPrev, setNext, setPrev
Methods inherited from interface com.illumon.iris.db.tables.live.NotificationQueue.Notification
isTerminal, mustExecuteWithLtmLock
-
Method Details
-
run
public abstract void run() -
toString
- Overrides:
toString
in classAbstractNotification
-
append
public final com.fishlib.base.log.LogOutput append(com.fishlib.base.log.LogOutput logOutput) - Specified by:
append
in interfacecom.fishlib.base.log.LogOutputAppendable
- Overrides:
append
in classAbstractNotification
-
canExecute
public final boolean canExecute(long step) Description copied from interface:NotificationQueue.Notification
Can this notification be executed? That is, are all of it's dependencies satisfied.- Specified by:
canExecute
in interfaceNotificationQueue.Notification
- Parameters:
step
- The step for which we are testing satisfaction- Returns:
- true if this notification can be executed, false if it has unmet dependencies
-