Class 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
  • Method Details

    • run

      public abstract void run()
      Specified by:
      run in interface Runnable
    • toString

      public final String toString()
      Overrides:
      toString in class AbstractNotification
    • append

      public final com.fishlib.base.log.LogOutput append(com.fishlib.base.log.LogOutput logOutput)
      Specified by:
      append in interface com.fishlib.base.log.LogOutputAppendable
      Overrides:
      append in class AbstractNotification
    • 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 interface NotificationQueue.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