Interface TicketRegistryCleaner

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default int clean()
      Clean the ticket registry by collecting tickets in the storage unit that may be expired.
      default int cleanTicket​(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.