Interface Listener

All Superinterfaces:
ListenerBase, LivenessManager, LivenessNode, LivenessReferent
All Known Implementing Classes:
BaseTable.ListenerImpl, DynamicTableToAdoConverter, InstrumentedListener, InstrumentedListenerAdapter, SwapListener, TableLogger

public interface Listener
extends ListenerBase
Listener for table changes.
  • Method Details

    • onUpdate

      void onUpdate​(Index added, Index removed, Index modified)
      Process notification of table changes.
      Parameters:
      added - rows added
      removed - rows removed
      modified - rows modified
    • getNotification

      NotificationQueue.IndexUpdateNotification getNotification​(Index added, Index removed, Index modified)
      Creates a notification for the table changes.
      Parameters:
      added - rows added
      removed - rows removed
      modified - rows modified
      Returns:
      table change notification
    • setInitialImage

      void setInitialImage​(Index initialImage)
      Sets the index for the initial data.
      Parameters:
      initialImage - initial image