Interface LiveTableRegistrar

All Known Implementing Classes:
LiveTableMonitor, LiveTableRefreshCombiner, OneShotRefreshCombiner

public interface LiveTableRegistrar
Common interface for classes that can register/deregister LiveTables.
  • Method Details

    • addTable

      void addTable(@NotNull LiveTable liveTable)
      Add a table to this registrar.
      Parameters:
      liveTable - The table to add
    • addTables

      default void addTables(@NotNull Collection<LiveTable> tablesToAdd)
    • removeTable

      void removeTable(@NotNull LiveTable liveTable)
      Remove a table from this registrar.
      Parameters:
      liveTable - The table to remove
    • requestRefresh

      void requestRefresh(@NotNull LiveTable table)
    • removeTables

      default void removeTables(@NotNull Collection<LiveTable> tablesToRemove)
    • maybeRefreshTable

      void maybeRefreshTable(@NotNull LiveTable table, boolean onlyIfHaveLock)