Class HealthAnalyticsUtil
- java.lang.Object
-
- io.vertigo.core.impl.analytics.health.HealthAnalyticsUtil
-
public final class HealthAnalyticsUtil extends Object
HealthAnalyticsUtil.- Author:
- jmforhan, mlaroche
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HealthStatusaggregate(List<HealthCheck> healthChecks)static List<HealthCheckDefinition>createHealthCheckDefinitions(String componentId, CoreComponent component, AopPlugin aopPlugin)Registers all methods annotated with @Suscriber on the objectstatic List<HealthCheck>getHealthChecks()
-
-
-
Method Detail
-
createHealthCheckDefinitions
public static List<HealthCheckDefinition> createHealthCheckDefinitions(String componentId, CoreComponent component, AopPlugin aopPlugin)
Registers all methods annotated with @Suscriber on the object- Parameters:
componentId- componentId to checkcomponent- Component to checkaopPlugin- Aop plugin use for unwrap- Returns:
- List of HealthCheckDefinition
-
getHealthChecks
public static List<HealthCheck> getHealthChecks()
-
aggregate
public static HealthStatus aggregate(List<HealthCheck> healthChecks)
-
-