public interface DynamicTable extends Table, NotificationQueue.Dependency, DynamicNode
Table.AsOfMatchRule, Table.ByStrategy, Table.GroupStrategy, Table.JoinStrategy, Table.RenameFunction
ACL_ATTRIBUTE, COLUMN_RENDERERS_ATTRIBUTE, CUSTOM_ACTIONS_ATTRIBUTE, DO_NOT_MAKE_REMOTE_ATTRIBUTE, EMPTY_SOURCE_TABLE_ATTRIBUTE, HIERARCHICAL_CHILDREN_TABLE_MAP_ATTRIBUTE, HIERARCHICAL_SOURCE_INFO_ATTRIBUTE, HIERARCHICAL_SOURCE_TABLE_ATTRIBUTE, INPUT_TABLE_ATTRIBUTE, KEY_COLUMNS_ATTRIBUTE, LAYOUT_HINTS_ATTRIBUTE, MERGED_TABLE_ATTRIBUTE, PREPARED_RLL_ATTRIBUTE, REVERSE_LOOKUP_ATTRIBUTE, ROLLUP_LEAF_ATTRIBUTE, SORTABLE_COLUMNS_ATTRIBUTE, TOTALS_TABLE_ATTRIBUTE, TREE_TABLE_FILTER_REVERSE_LOOKUP_ATTRIBUTE, UNIQUE_KEYS_ATTRIBUTE
Modifier and Type | Method and Description |
---|---|
void |
awaitUpdate()
Wait for updates to this DynamicTable.
|
boolean |
awaitUpdate(long timeout)
Wait for updates to this DynamicTable.
|
void |
listenForDirectUpdates(Listener listener)
Subscribe for updates to this table.
|
void |
listenForUpdates(Listener listener,
boolean replayInitialImage)
Subscribe for updates to this table.
|
void |
notifyListeners(Index added,
Index removed,
Index modified)
Initiate update delivery to this table's listeners.
|
void |
notifyListenersOnError(Throwable e,
UpdatePerformanceTracker.Entry sourceEntry)
Initiate failure delivery to this table's listeners.
|
void |
removeDirectUpdateListener(Listener listener)
Unsubscribe the supplied listener.
|
void |
removeUpdateListener(Listener listener)
Unsubscribe the supplied listener.
|
absSumBy, absSumBy, absSumBy, absSumBy, absSumBy, addColumnGrouping, aj, aj, aj, aj, aj, aj, aj, aj, apply, applyToAllBy, applyToAllBy, applyToAllBy, applyToAllBy, avgBy, avgBy, avgBy, avgBy, by, by, by, by, by, by, by, by, by, by, by, by, by, by, byExternal, byExternal, byExternal, byExternal, byteColumnIterator, characterColumnIterator, clearSortingRestrictions, close, coalesce, columnIterator, countBy, countBy, countBy, countBy, countBy, countBy, countBy, countBy, dateTimeColumnAsNanos, dateTimeColumnAsNanos, deflate, deflate, doubleColumnIterator, dropColumnFormats, dropColumns, dropColumns, exactJoin, exactJoin, exactJoin, exactJoin, exactJoin, exactJoin, exactJoin, firstBy, firstBy, firstBy, firstBy, firstBy, firstBy, firstBy, firstBy, flatten, floatColumnIterator, formatColumns, formatColumnWhere, formatRowWhere, getAttribute, getAttributeNames, getAttributes, getAttributes, getColumn, getColumn, getColumns, getColumnSource, getColumnSourceMap, getColumnSources, getDefinition, getDescription, getIndex, getMeta, getRecord, getSubTable, getViewPort, hasAttribute, hasColumns, hasColumns, head, headBy, headBy, headBy, headPct, integerColumnIterator, isEmpty, isFlat, isLive, join, join, join, join, join, join, join, join, join, lastBy, lastBy, lastBy, lastBy, lastBy, lastBy, lastBy, lastBy, layoutHints, layoutHints, lazyUpdate, lazyUpdate, lazyUpdate, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, longColumnIterator, maxBy, maxBy, maxBy, maxBy, maxBy, medianBy, medianBy, medianBy, medianBy, medianBy, minBy, minBy, minBy, minBy, minBy, moveColumns, moveUpColumns, naturalJoin, naturalJoin, naturalJoin, naturalJoin, naturalJoin, naturalJoin, naturalJoin, preemptiveUpdatesTable, raj, raj, raj, raj, raj, raj, raj, raj, releaseCachedResources, renameAllColumns, renameColumns, renameColumns, renameColumns, restrictSortTo, reverse, rollup, rollup, rollup, rollup, select, select, select, select, selectDistinct, selectDistinct, selectDistinct, selectDistinct, setAttribute, setColumnRenderers, setTotalsTable, shortColumnIterator, sizeForInstrumentation, snapshot, snapshot, snapshotHistory, snapshotIncremental, snapshotIncremental, sort, sort, sortDescending, sortDescending, stdBy, stdBy, stdBy, stdBy, subscribeToPreemptiveUpdates, sumBy, sumBy, sumBy, sumBy, sumBy, supportsPreemptiveSubscription, tail, tailBy, tailBy, tailBy, tailPct, treeTable, treeTable, ungroup, ungroup, ungroupAllBut, update, update, update, updateView, updateView, updateView, varBy, varBy, varBy, varBy, varBy, view, view, view, wavgBy, wavgBy, wavgBy, wavgBy, where, where, where, where, whereDynamic, whereDynamicIn, whereDynamicIn, whereDynamicNotIn, whereDynamicNotIn, whereIn, whereIn, whereIn, whereIn, whereIn, whereIn, whereIn, whereIn, whereNotIn, whereNotIn, whereNotIn, whereNotIn, whereOneOf, whereOneOf, whereOneOf, withKeys, withUniqueKeys
maybeDeflate
intSize, intSize, intSize, size
dropReference, getReferentDescription, getWeakReference, retainReference, tryRetainReference
manage, tryManage
satisfied
addParentReference, isDynamicAndIsRefreshing, isDynamicAndNotRefreshing, isRefreshing, notDynamicOrIsRefreshing, notDynamicOrNotRefreshing, setRefreshing
void awaitUpdate() throws InterruptedException
Wait for updates to this DynamicTable.
In some implementations, this call may also terminate in case of interrupt or spurious wakeup (see java.util.concurrent.locks.Condition#await()).
InterruptedException
- In the event this thread is interruptedboolean awaitUpdate(long timeout) throws InterruptedException
Wait for updates to this DynamicTable.
In some implementations, this call may also terminate in case of interrupt or spurious wakeup (see java.util.concurrent.locks.Condition#await()).
timeout
- The maximum time to wait in milliseconds.InterruptedException
- In the event this thread is interruptedvoid listenForUpdates(Listener listener, boolean replayInitialImage)
listener
- listener for updatesreplayInitialImage
- true to process updates for all initial rows in the table plus all new row changes;
false to only process new row changesvoid listenForDirectUpdates(Listener listener)
listener
- listener for updatesvoid removeUpdateListener(Listener listener)
listener
- listener for updatesvoid removeDirectUpdateListener(Listener listener)
listener
- listener for updatesvoid notifyListeners(Index added, Index removed, Index modified)
added
- index values added to the tableremoved
- index values removed from the tablemodified
- index values modified in the table.void notifyListenersOnError(Throwable e, @Nullable UpdatePerformanceTracker.Entry sourceEntry)
e
- errorsourceEntry
- performance tracking