Package io.deephaven.status.dashboard
Class StatusDashboard
java.lang.Object
com.fishlib.util.process.OnetimeShutdownTask
io.deephaven.status.dashboard.StatusDashboard
- All Implemented Interfaces:
com.fishlib.util.process.ShutdownManager.Task
public class StatusDashboard
extends com.fishlib.util.process.OnetimeShutdownTask
Main class for a simple dashboard process. This provides the options of generating its own web page, and of creating a
web service that provides data in Prometheus format.
-
Constructor Summary
ConstructorsConstructorDescriptionStatusDashboard(com.fishlib.configuration.Configuration configuration, IrisLogCreator logCreator) Constructor. -
Method Summary
Methods inherited from class com.fishlib.util.process.OnetimeShutdownTask
adapt, awaitShutdown, awaitShutdown, invoke, isShutdown
-
Constructor Details
-
StatusDashboard
public StatusDashboard(com.fishlib.configuration.Configuration configuration, IrisLogCreator logCreator) throws IOException, DeephavenException Constructor.- Parameters:
configuration- theConfigurationlogCreator- theIrisLogCreator- Throws:
IOException- if something goes wrong in authenticator creationDeephavenException- if SSL context creation goes wrong
-
-
Method Details
-
run
public void run()Start the status dashboard. -
shutdown
public void shutdown()- Specified by:
shutdownin classcom.fishlib.util.process.OnetimeShutdownTask
-
main
- Parameters:
args- not used- Throws:
IOException- from StatusDashboard creationDeephavenException- from StatusDashboard creation
-