Package io.deephaven.enterprise.dnd
Class ControllerClientFactory
java.lang.Object
io.deephaven.enterprise.dnd.ControllerClientFactory
A lazy provider of the singleton controller client for queries. Some operations require the controller client, and we
 do not want to create one unless it is necessary, or create more than one to avoid additional controller load. The
 client is currently used for:
 
- PQ URI resolution.
- Variable updates.
- Heartbeat requests
- Script requests
- 
Constructor SummaryConstructorsConstructorDescriptionControllerClientFactory(@NotNull AuthenticationClient authClient, @Nullable io.deephaven.shadow.jetcd.io.etcd.jetcd.Client etcdClient, @Nullable String name) 
- 
Method SummaryModifier and TypeMethodDescriptionGet a controller client that is subscribed to all queries.Get a (possibly) unsubscribed controller client.static ControllerClientFactorystatic ControllerClientFactorymakeControllerClientFactory(@NotNull AuthenticationClient authClient, @NotNull io.deephaven.shadow.jetcd.io.etcd.jetcd.Client etcdClient, @NotNull ProcessInfo info) static ControllerClientFactorymakeControllerClientFactory(@Nullable String name) 
- 
Constructor Details- 
ControllerClientFactorypublic ControllerClientFactory(@NotNull @NotNull AuthenticationClient authClient, @Nullable @Nullable io.deephaven.shadow.jetcd.io.etcd.jetcd.Client etcdClient, @Nullable @Nullable String name) 
 
- 
- 
Method Details- 
makeControllerClientFactory@Provides @Singleton public static ControllerClientFactory makeControllerClientFactory(@NotNull @NotNull AuthenticationClient authClient, @NotNull @NotNull io.deephaven.shadow.jetcd.io.etcd.jetcd.Client etcdClient, @NotNull @NotNull ProcessInfo info) 
- 
makeControllerClientFactory
- 
makeControllerClientFactory
- 
getUnsubscribedGet a (possibly) unsubscribed controller client.- Returns:
- a controller client
 
- 
getSubscribedGet a controller client that is subscribed to all queries.- Returns:
- a subscribed controller client.
 
 
-