|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.cas.monitor.SessionMonitor
public class SessionMonitor
Monitors the status of a TicketRegistry
that supports the TicketRegistryState interface for exposing internal
state information used in status reports.
| Constructor Summary | |
|---|---|
SessionMonitor()
|
|
| Method Summary | |
|---|---|
String |
getName()
Gets the name of the monitor. |
SessionStatus |
observe()
Observes the monitored resource and reports the status. |
void |
setServiceTicketCountWarnThreshold(int threshold)
Sets the threshold above which warnings are issued for service ticket counts in excess of value. |
void |
setSessionCountWarnThreshold(int threshold)
Sets the threshold above which warnings are issued for session counts in excess of value. |
void |
setTicketRegistry(TicketRegistryState state)
Sets the ticket registry that exposes state information that may be queried by this monitor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SessionMonitor()
| Method Detail |
|---|
public void setTicketRegistry(TicketRegistryState state)
state - public void setSessionCountWarnThreshold(int threshold)
threshold - Warn threshold if non-negative value, otherwise warnings are disabled.public void setServiceTicketCountWarnThreshold(int threshold)
threshold - Warn threshold if non-negative value, otherwise warnings are disabled.public String getName()
getName in interface Monitor<SessionStatus>public SessionStatus observe()
observe in interface Monitor<SessionStatus>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||