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 SummaryModifier and TypeMethodDescriptionbooleanisReady()Is the upstream ready for subscriptions?booleanisSameTarget(@Nullable RemoteTableStateWatcher.StateToken other) Check if thisRemoteTableStateWatcher.StateTokenrepresents the same target connection.
- 
Method Details- 
isReadyboolean isReady()Is the upstream ready for subscriptions?- Returns:
- true if it is ready for subscriptions.
 
- 
isSameTargetCheck if thisRemoteTableStateWatcher.StateTokenrepresents the same target connection. This is useful, for example, if a PQ Spare replaces a worker.- Parameters:
- other- the- RemoteTableStateWatcher.StateTokento compare with
- Returns:
- true if the other token represents the same target
 
 
-