Class InstrumentedListener

All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable, NotificationQueue.Dependency, LivenessManager, LivenessNode, LivenessReferent, Listener, ListenerBase, Serializable
Direct Known Subclasses:
BaseTable.ListenerImpl, InstrumentedListenerAdapter

public abstract class InstrumentedListener extends InstrumentedListenerBase implements Listener
See Also:
  • Constructor Details

    • InstrumentedListener

      public InstrumentedListener(@Nullable String description)
    • InstrumentedListener

      public InstrumentedListener(@Nullable String description, boolean terminalListener)
  • Method Details

    • getNotification

      public AbstractIndexUpdateNotification getNotification(Index added, Index removed, Index modified)
      Description copied from interface: Listener
      Creates a notification for the table changes.
      Specified by:
      getNotification in interface Listener
      Parameters:
      added - rows added
      removed - rows removed
      modified - rows modified
      Returns:
      table change notification
    • setInitialImage

      public void setInitialImage(Index initialImage)
      Description copied from interface: Listener
      Sets the index for the initial data.
      Specified by:
      setInitialImage in interface Listener
      Parameters:
      initialImage - initial image