org.jasig.cas.monitor
Interface Monitor<S extends Status>

All Known Implementing Classes:
AbstractCacheMonitor, AbstractNamedMonitor, AbstractPoolMonitor, DataSourceMonitor, HealthCheckMonitor, MemoryMonitor, SessionMonitor

public interface Monitor<S extends Status>

A monitor observes a resource and reports its status.

Since:
3.5.0
Author:
Marvin S. Addison

Method Summary
 String getName()
          Gets the name of the monitor.
 S observe()
          Observes the monitored resource and reports the status.
 

Method Detail

getName

String getName()
Gets the name of the monitor.

Returns:
Monitor name.

observe

S observe()
Observes the monitored resource and reports the status.

Returns:
Status of monitored resource.


Copyright © 2004-2013 Jasig. All Rights Reserved.