Class HealthUtil

java.lang.Object
io.vertigo.core.impl.analytics.health.HealthUtil

public final class HealthUtil extends Object
HealthAnalyticsUtil.
Author:
jmforhan, mlaroche
  • Method Details

    • createHealthCheckDefinitions

      public static List<HealthCheckDefinition> createHealthCheckDefinitions(String componentId, CoreComponent component, AspectPlugin aspectPlugin)
      Registers all methods annotated with @Suscriber on the object
      Parameters:
      componentId - componentId to check
      component - Component to check
      aopPlugin - Aop plugin use for unwrap
      Returns:
      List of HealthCheckDefinition
    • getHealthChecks

      public static List<HealthCheck> getHealthChecks()
    • aggregate

      public static HealthStatus aggregate(List<HealthCheck> healthChecks)