public class HealthCheckMonitor extends Object implements Monitor<HealthStatus>
StatusCode of an arbitrary number of individual checks.| Constructor and Description |
|---|
HealthCheckMonitor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name of the monitor.
|
HealthStatus |
observe()
Observes the monitored resource and reports the status.
|
void |
setMonitors(Collection<Monitor> monitors)
Sets the monitors that comprise the health check.
|
public void setMonitors(Collection<Monitor> monitors)
monitors - Collection of monitors responsible for observing various aspects of CAS.public String getName()
getName in interface Monitor<HealthStatus>public HealthStatus observe()
observe in interface Monitor<HealthStatus>Copyright © 2004-2012 Jasig. All Rights Reserved.