Class HealthCheckMonitor

  • All Implemented Interfaces:
    Runnable

    public class HealthCheckMonitor
    extends Object
    implements Runnable

    Monitors health check tags and/or names and depending on configuration:

    • Activates the condition marker services SystemReady, Healthy, Unhealthy
    • Sends OSGi events
    • Constructor Detail

      • HealthCheckMonitor

        public HealthCheckMonitor()
    • Method Detail

      • activate

        protected final void activate​(org.osgi.framework.BundleContext bundleContext,
                                      HealthCheckMonitor.Config config,
                                      org.osgi.service.component.ComponentContext componentContext)
                               throws org.osgi.framework.InvalidSyntaxException
        Throws:
        org.osgi.framework.InvalidSyntaxException
      • deactivate

        protected final void deactivate()
      • updateHealthStatesMap

        public void updateHealthStatesMap()
      • run

        public void run()
        Specified by:
        run in interface Runnable