public class JmsConnectionHealthCheck extends Object implements HealthCheck
HealthCheckServiceshould take care of this.
|Constructor and Description|
|Modifier and Type||Method and Description|
The description of the
Implements the check itself, e.g.
public JmsConnectionHealthCheck(org.osgi.framework.BundleContext bundleContext)
public String getDescription()
HealthCheck, e.g. "Connecting to OpenNMS ReST API". This is used when visualizing the progress or result of the checks.
HealthCheckService, it is advised that all timeout restrictions etc are handled by the service instead of the
HealthCheckimplementation. Implementations might throw an Exception, which should be handled by the
HealthCheckServiceas well. The response indicates if the check was successful, or encountered other problems. If null is returned, the
HealthCheckServiceshould consider this as
Copyright © 2020. All rights reserved.