Package net.bluemind.metrics.alerts.api
Interface IProductChecks
@Path("/check")
public interface IProductChecks
This API provides "status oriented" (ok, warn, failed) monitoring results.
Single checks can be re-executed thanks to
check(String)
and the last result can be retrieved
with lastResult(String)
.-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of executed check names.Starts asynchronously a product check with the given name.lastResult
(String checkName) Returns the result of the last execution of a given check
-
Method Details
-
availableChecks
Returns the list of executed check names.- Returns:
- check names with available results
-
lastResult
Returns the result of the last execution of a given check- Parameters:
checkName
-- Returns:
- a result or null if the check was never executed
-
check
Starts asynchronously a product check with the given name.- Parameters:
checkName
- the name of the product check to start- Returns:
- a TaskRef suitable for tracking the progress of the check.
-