Package org.apereo.cas.ticket.registry
Interface TicketRegistryCleaner
-
public interface TicketRegistryCleanerThis isTicketRegistryCleaner.- Since:
- 5.0.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default intclean()Clean the ticket registry by collecting tickets in the storage unit that may be expired.default intcleanTicket(Ticket ticket)Cleans up after an already-expired ticket, by running the necessary processes such as logout notifications and more.
-
-
-
Method Detail
-
clean
default int clean()
Clean the ticket registry by collecting tickets in the storage unit that may be expired.- Returns:
- the int
-
cleanTicket
default int cleanTicket(Ticket ticket)
Cleans up after an already-expired ticket, by running the necessary processes such as logout notifications and more.- Parameters:
ticket- the ticket- Returns:
- the number of tickets that were cleaned up during the process.
-
-