org.jasig.cas.monitor
Interface TicketRegistryState

All Known Implementing Classes:
AbstractDistributedTicketRegistry, AbstractTicketRegistry, DefaultTicketRegistry, JpaTicketRegistry

public interface TicketRegistryState

Describes important state information that may be optionally exposed by TicketRegistry components that might be of interest to monitors.

Since:
3.5.0
Author:
Marvin S. Addison

Method Summary
 int serviceTicketCount()
          Computes the number of service tickets stored in the ticket registry.
 int sessionCount()
          Computes the number of SSO sessions stored in the ticket registry.
 

Method Detail

sessionCount

int sessionCount()
Computes the number of SSO sessions stored in the ticket registry.

Returns:
Number of ticket-granting tickets in the registry at time of invocation or Integer.MIN_VALUE if unknown.

serviceTicketCount

int serviceTicketCount()
Computes the number of service tickets stored in the ticket registry.

Returns:
Number of service tickets in the registry at time of invocation or Integer.MIN_VALUE if unknown.


Copyright © 2004-2013 Jasig. All Rights Reserved.