Package io.deephaven.status.dashboard
Class StatusDashboardPublisherController
java.lang.Object
io.deephaven.status.dashboard.StatusDashboardPublisherController
Class that publishes persistent query controller status.
-
Method Summary
Modifier and TypeMethodDescriptionvoidstart(Consumer<PersistentQueryControllerClient> clientConsumer, Consumer<Exception> exceptionConsumer, Runnable handleConnectionLost, Runnable handleConnectionReestablished, Consumer<PersistentQueryControllerConfiguration> controllerReloadReceived) Start this publisher.
-
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 createdexceptionConsumer- a method to be called if the controller client throws an exceptionhandleConnectionLost- a method to be called if the controller client loses its connectionhandleConnectionReestablished- a method to be called when the controller client re-establishes a connection to the controllercontrollerReloadReceived- a method to be called when a controller reload is received
-