org.jasig.cas.monitor
Class SessionStatus
java.lang.Object
org.jasig.cas.monitor.Status
org.jasig.cas.monitor.SessionStatus
public class SessionStatus
- extends Status
Provides status information about the number of SSO sessions established in CAS.
- Since:
- 3.5.0
- Author:
- Marvin S. Addison
|
Method Summary |
int |
getServiceTicketCount()
Gets the total number of service tickets in the CAS ticket registry. |
int |
getSessionCount()
Gets total number of SSO sessions maintained by CAS. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionStatus
public SessionStatus(StatusCode code,
String desc)
- Creates a new status object with the given code.
- Parameters:
code - Status code.desc - Human-readable status description.- See Also:
Status.getCode()
SessionStatus
public SessionStatus(StatusCode code,
String desc,
int sessions,
int serviceTickets)
- Creates a new status object with the given code.
- Parameters:
code - Status code.desc - Human-readable status description.sessions - Number of established SSO sessions in ticket registry.serviceTickets - Number of service tickets in ticket registry.- See Also:
Status.getCode()
getSessionCount
public int getSessionCount()
- Gets total number of SSO sessions maintained by CAS.
- Returns:
- Total number of SSO sessions.
getServiceTicketCount
public int getServiceTicketCount()
- Gets the total number of service tickets in the CAS ticket registry.
- Returns:
- Total number of service tickets.
Copyright © 2004-2013 Jasig. All Rights Reserved.