Package io.deephaven.enterprise.remote
Class ControllerStateWatcher
java.lang.Object
io.deephaven.enterprise.remote.ControllerStateWatcher
- All Implemented Interfaces:
- RemoteTableStateWatcher
A 
RemoteTableStateWatcher that uses a PersistentQueryControllerClient to produce tokens backed by
 PersistentQueryInfoMessages.- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classARemoteTableStateWatcher.StateTokenbacked by aPersistentQueryInfoMessageNested classes/interfaces inherited from interface io.deephaven.enterprise.remote.RemoteTableStateWatcherRemoteTableStateWatcher.Observer, RemoteTableStateWatcher.StateToken
- 
Constructor SummaryConstructorsConstructorDescriptionControllerStateWatcher(@NotNull PersistentQueryControllerClient client, @NotNull String queryName) Createa a newControllerStateWatcherthat monitors the state of the specified query by name.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclearObserver(@NotNull RemoteTableStateWatcher.Observer o) Remove theRemoteTableStateWatcher.Observerset byRemoteTableStateWatcher.setObserver(Observer).Get a description of the watcher.voidsetObserver(@NotNull RemoteTableStateWatcher.Observer o) Set theRemoteTableStateWatcher.Observerto notify of state changes.
- 
Constructor Details- 
ControllerStateWatcherpublic ControllerStateWatcher(@NotNull @NotNull PersistentQueryControllerClient client, @NotNull @NotNull String queryName) Createa a newControllerStateWatcherthat monitors the state of the specified query by name.- Parameters:
- client- the- PersistentQueryControllerClient
- queryName- the query name.
 
 
- 
- 
Method Details- 
setObserverDescription copied from interface:RemoteTableStateWatcherSet theRemoteTableStateWatcher.Observerto notify of state changes.- Specified by:
- setObserverin interface- RemoteTableStateWatcher
- Parameters:
- o- the observer
 
- 
descriptionDescription copied from interface:RemoteTableStateWatcherGet a description of the watcher.- Specified by:
- descriptionin interface- RemoteTableStateWatcher
- Returns:
- a description.
 
- 
clearObserverDescription copied from interface:RemoteTableStateWatcherRemove theRemoteTableStateWatcher.Observerset byRemoteTableStateWatcher.setObserver(Observer). The observer must be identical.- Specified by:
- clearObserverin interface- RemoteTableStateWatcher
- Parameters:
- o- the observer to remove. Must be identical to what was passed to- RemoteTableStateWatcher.setObserver(Observer)
 
 
-