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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.deephaven.shadow.enterprise.com.illumon.iris.controller.PersistentQueryControllerClient
Get a controller client that is subscribed to all queries.io.deephaven.shadow.enterprise.com.illumon.iris.controller.PersistentQueryControllerClient
Get a (possibly) unsubscribed controller client.static ControllerClientFactory
-
Constructor Details
-
ControllerClientFactory
public ControllerClientFactory()
-
-
Method Details
-
makeControllerClientFactory
-
getUnsubscribed
public io.deephaven.shadow.enterprise.com.illumon.iris.controller.PersistentQueryControllerClient getUnsubscribed()Get a (possibly) unsubscribed controller client.- Returns:
- a controller client
-
getSubscribed
public io.deephaven.shadow.enterprise.com.illumon.iris.controller.PersistentQueryControllerClient getSubscribed()Get a controller client that is subscribed to all queries.- Returns:
- a subscribed controller client.
-