Class ControllerClientFactory

java.lang.Object
io.deephaven.enterprise.dnd.ControllerClientFactory

@Module public class ControllerClientFactory extends Object
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 Details

    • ControllerClientFactory

      public ControllerClientFactory()
  • Method Details

    • makeControllerClientFactory

      @Provides @Singleton public static ControllerClientFactory 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.