Class DefaultHealthCheckExecutor

  • All Implemented Interfaces:

    public class DefaultHealthCheckExecutor
    extends Object
    implements HealthCheckExecutor
    The HealthCheckExecutor implementation. It should have no side-effects such as adding events to Johnson or logging health check results. Given that the product's LifecyclePhases are sequential, only one thread should be using this class at a time. It can therefore be a singleton. We synchronize its public method just to be on the safe side; this will not affect performance for the intended use cases.
    • Constructor Detail

      • DefaultHealthCheckExecutor

        public DefaultHealthCheckExecutor()