Package io.vertigo.core.analytics.health
Class HealthMeasure
- java.lang.Object
-
- io.vertigo.core.analytics.health.HealthMeasure
-
public final class HealthMeasure extends Object
Measure. example : Ping to a Database produces a specific Measure- Author:
- jmforhan
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HealthMeasureBuilder
builder()
Creates the builder.Exception
getCause()
String
getMessage()
HealthStatus
getStatus()
-
-
-
Method Detail
-
builder
public static HealthMeasureBuilder builder()
Creates the builder.- Returns:
- the builder
-
getStatus
public HealthStatus getStatus()
- Returns:
- the status
-
getMessage
public String getMessage()
- Returns:
- the message (may be null)
-
getCause
public Exception getCause()
- Returns:
- the cause exception (may be null)
-
-