public class HealthMonitorManager extends Object implements IHealthMonitorManager
IHealthMonitorManager
interface.Constructor and Description |
---|
HealthMonitorManager() |
Modifier and Type | Method and Description |
---|---|
List<HealthCheckInfo> |
getHealthChecks()
Returns a list of all available health checks.
|
Map<String,Map<String,HealthCheckResult>> |
runCompleteHealthCheck(HttpServletRequest request)
Executes all health checks
|
Map<String,HealthCheckResult> |
runHealthCheck(String className,
HttpServletRequest request)
Executes all health checks available in a class.
|
HealthCheckResult |
runHealthCheck(String className,
String methodName,
HttpServletRequest request)
Executes a single health check for the given class and method.
|
public List<HealthCheckInfo> getHealthChecks() throws Exception
IHealthMonitorManager
getHealthChecks
in interface IHealthMonitorManager
Exception
public Map<String,Map<String,HealthCheckResult>> runCompleteHealthCheck(HttpServletRequest request) throws Exception
IHealthMonitorManager
runCompleteHealthCheck
in interface IHealthMonitorManager
Exception
public Map<String,HealthCheckResult> runHealthCheck(String className, HttpServletRequest request) throws Exception
IHealthMonitorManager
runHealthCheck
in interface IHealthMonitorManager
className
- the class to executeException
public HealthCheckResult runHealthCheck(String className, String methodName, HttpServletRequest request) throws Exception
IHealthMonitorManager
runHealthCheck
in interface IHealthMonitorManager
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 toException
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.