Class StatusDashboardPublisherController

java.lang.Object
io.deephaven.status.dashboard.StatusDashboardPublisherController

public class StatusDashboardPublisherController extends Object
Class that publishes persistent query controller status.
  • Method Details

    • start

      public void start(@NotNull Consumer<PersistentQueryControllerClient> clientConsumer, @NotNull Consumer<Exception> exceptionConsumer, @NotNull Runnable handleConnectionLost, @NotNull Runnable handleConnectionReestablished, @NotNull Consumer<PersistentQueryControllerConfiguration> controllerReloadReceived)
      Start this publisher. This must be called after the constructor has completed since it's starting a thread that references this instance.
      Parameters:
      clientConsumer - a method to be called when a controller client has been created
      exceptionConsumer - a method to be called if the controller client throws an exception
      handleConnectionLost - a method to be called if the controller client loses its connection
      handleConnectionReestablished - a method to be called when the controller client re-establishes a connection to the controller
      controllerReloadReceived - a method to be called when a controller reload is received