Package com.illumon.iris.db.tables.live
Interface LiveTableRegistrar
- All Known Implementing Classes:
LiveTableMonitor
,LiveTableRefreshCombiner
,OneShotRefreshCombiner
public interface LiveTableRegistrar
Common interface for classes that can register/deregister LiveTables.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a table to this registrar.default void
addTables
(Collection<LiveTable> tablesToAdd) void
maybeRefreshTable
(LiveTable table, boolean onlyIfHaveLock) void
removeTable
(LiveTable liveTable) Remove a table from this registrar.default void
removeTables
(Collection<LiveTable> tablesToRemove) void
requestRefresh
(LiveTable table)
-
Method Details
-
addTable
Add a table to this registrar.- Parameters:
liveTable
- The table to add
-
addTables
-
removeTable
Remove a table from this registrar.- Parameters:
liveTable
- The table to remove
-
requestRefresh
-
removeTables
-
maybeRefreshTable
-