public class SessionMonitor extends Object implements Monitor<SessionStatus>
TicketRegistry
that supports the TicketRegistryState interface for exposing internal
state information used in status reports.| Constructor and Description |
|---|
SessionMonitor() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public void setTicketRegistry(TicketRegistryState state)
state - the ticket registry state instancepublic 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>Copyright © 2004-2014 Jasig. All Rights Reserved.