Interface TableLocationProvider.Listener

All Superinterfaces:
BasicTableDataListener
All Known Implementing Classes:
TableLocationSubscriptionBuffer
Enclosing interface:
TableLocationProvider

public static interface TableLocationProvider.Listener extends BasicTableDataListener
ShiftObliviousListener interface for anything that wants to know about new table location keys.
  • Method Details

    • handleTableLocationKey

      void handleTableLocationKey(@NotNull @NotNull ImmutableTableLocationKey tableLocationKey)
      Notify the listener of a TableLocationKey encountered while initiating or maintaining the location subscription. This should occur at most once per location, but the order of delivery is not guaranteed.
      Parameters:
      tableLocationKey - The new table location key
    • handleTableLocationKeyRemoved

      void handleTableLocationKeyRemoved(@NotNull @NotNull ImmutableTableLocationKey tableLocationKey)
      Notify the listener of a TableLocationKey that has been removed.
      Parameters:
      tableLocationKey - The table location key that was removed