Interface HealthCheckExecutionResult
Deprecated.
Interface for health check executions via the
HealthCheckExecutor.
If the execution of the health check timed out, the method-
Method Summary
Modifier and TypeMethodDescriptionlongDeprecated.Get the elapsed time in msDeprecated.Get the date, the health check finished or if the execution timed out, the execution was aborted.Deprecated.Get the meta data about the health check serviceDeprecated.Get the result of the health check run.booleanDeprecated.Returns true if the execution has timed out.
-
Method Details
-
getHealthCheckResult
Result getHealthCheckResult()Deprecated.Get the result of the health check run. -
getElapsedTimeInMs
long getElapsedTimeInMs()Deprecated.Get the elapsed time in ms -
getFinishedAt
Date getFinishedAt()Deprecated.Get the date, the health check finished or if the execution timed out, the execution was aborted.- Returns:
- The finished date of the execution.
-
hasTimedOut
boolean hasTimedOut()Deprecated.Returns true if the execution has timed out. In this case the result does not reflect the real result of the underlying check, but a result indicating the timeout.- Returns:
trueif execution timed out.
-
getHealthCheckMetadata
HealthCheckMetadata getHealthCheckMetadata()Deprecated.Get the meta data about the health check service
-