Class CasCoreTicketsSchedulingConfiguration.TicketRegistryCleanerScheduler

  • Enclosing class:
    CasCoreTicketsSchedulingConfiguration

    public static class CasCoreTicketsSchedulingConfiguration.TicketRegistryCleanerScheduler
    extends java.lang.Object
    The Ticket registry cleaner scheduler. Because the cleaner itself is marked with Transactional, we need to create a separate scheduler component that invokes it so that Scheduled annotations can be processed and not interfere with transaction semantics of the cleaner.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TicketRegistryCleanerScheduler

        public TicketRegistryCleanerScheduler()
    • Method Detail

      • run

        @Scheduled(initialDelayString="${cas.ticket.registry.cleaner.schedule.start-delay:PT30S}",
                   fixedDelayString="${cas.ticket.registry.cleaner.schedule.repeat-interval:PT120S}")
        public void run()