Package io.deephaven.enterprise.remote
Interface RemoteTableStateWatcher.StateToken
- All Known Implementing Classes:
ControllerStateWatcher.PersistentQueryStateToken
- Enclosing interface:
- RemoteTableStateWatcher
public static interface RemoteTableStateWatcher.StateToken
A Token representing the state of the remote table object. It must be able to tell clients if the upstream is
ready for subscriptions or not.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isReady()
Is the upstream ready for subscriptions?boolean
isSameTarget
(@Nullable RemoteTableStateWatcher.StateToken other) Check if thisRemoteTableStateWatcher.StateToken
represents the same target connection.
-
Method Details
-
isReady
boolean isReady()Is the upstream ready for subscriptions?- Returns:
- true if it is ready for subscriptions.
-
isSameTarget
Check if thisRemoteTableStateWatcher.StateToken
represents the same target connection. This is useful, for example, if a PQ Spare replaces a worker.- Parameters:
other
- theRemoteTableStateWatcher.StateToken
to compare with- Returns:
- true if the other token represents the same target
-