Package lumis.portal.healthmonitor
Interface IHealthMonitorManager
-
- All Known Implementing Classes:
HealthMonitorManager
public interface IHealthMonitorManager
Service provider interface for the health monitor framework manager.- Since:
- 10.1.0
- Version:
- $Revision: 19963 $ $Date: 2017-02-21 19:28:29 -0300 (Tue, 21 Feb 2017) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<HealthCheckInfo>
getHealthChecks()
Returns a list of all available health checks.Map<String,Map<String,HealthCheckResult>>
runCompleteHealthCheck(HttpServletRequest request)
Executes all health checksHealthCheckResult
runHealthCheck(String className, String methodName, HttpServletRequest request)
Executes a single health check for the given class and method.Map<String,HealthCheckResult>
runHealthCheck(String className, HttpServletRequest request)
Executes all health checks available in a class.
-
-
-
Method Detail
-
getHealthChecks
List<HealthCheckInfo> getHealthChecks() throws Exception
Returns a list of all available health checks.- Returns:
- a list of health checks.
- Throws:
Exception
- Since:
- 10.1.0
-
runCompleteHealthCheck
Map<String,Map<String,HealthCheckResult>> runCompleteHealthCheck(HttpServletRequest request) throws Exception
Executes all health checks- Returns:
- a map of results grouped by class name
- Throws:
Exception
- Since:
- 10.1.0
-
runHealthCheck
Map<String,HealthCheckResult> runHealthCheck(String className, HttpServletRequest request) throws Exception
Executes all health checks available in a class.- Parameters:
className
- the class to execute- Returns:
- a list of results for each method with the HealthCheck annotation
- Throws:
Exception
- Since:
- 10.1.0
-
runHealthCheck
HealthCheckResult runHealthCheck(String className, String methodName, HttpServletRequest request) throws Exception
Executes a single health check for the given class and method.- Parameters:
className
- the name of the class for which the check should be runmethodName
- the name of the method for which the check should be runrequest
- a http request for which some check can use to- Returns:
- the check result
- Throws:
Exception
- Since:
- 10.1.0
-
-