|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.cas.monitor.HealthCheckMonitor
public class HealthCheckMonitor
Simple health check monitor that reports the overall health as the greatest reported
StatusCode of an arbitrary number of individual checks.
| Constructor Summary | |
|---|---|
HealthCheckMonitor()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HealthCheckMonitor()
| Method Detail |
|---|
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>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||