Class PEHADBHealthChecker

    • Constructor Detail

      • PEHADBHealthChecker

        public PEHADBHealthChecker​(WebContainer webContainer)
        Creates a new instance of PEHADBHealthChecker
    • Method Detail

      • start

        public void start()
                   throws LifecycleException
        Prepare for the beginning of active use of the public methods of this component. This method should be called after configure(), and before any of the public methods of the component are utilized.
        Specified by:
        start in interface HealthChecker
        Throws:
        IllegalStateException - if this component has already been started
        LifecycleException - if this component detects a fatal error that prevents this component from being used
      • stop

        public void stop()
                  throws LifecycleException
        Gracefully terminate the active use of the public methods of this component. This method should be the last one called on a given instance of this component.
        Specified by:
        stop in interface HealthChecker
        Throws:
        IllegalStateException - if this component has not been started
        LifecycleException - if this component detects a fatal error that needs to be reported