Class SchedulerServiceImpl

  • All Implemented Interfaces:
    SchedulerService, Adaptable, Component, Extensible, TimestampedService

    public class SchedulerServiceImpl
    extends DefaultComponent
    implements SchedulerService
    Schedule service implementation. Since the cleanup of the quartz job is done when service is activated, ( see see https://jira.nuxeo.com/browse/NXP-7303 ) in cluster mode, the schedules contributions MUST be the same on all nodes. Due the fact that all jobs are removed when service starts on a node it may be a short period with no schedules in quartz table even other node is running.
    • Field Detail

      • CLUSTER_START_DURATION_DEFAULT

        public static final Duration CLUSTER_START_DURATION_DEFAULT
        Since:
        11.1
      • CLUSTER_START_DELAY_DEFAULT

        public static final Duration CLUSTER_START_DELAY_DEFAULT
        Default value is set to 5 seconds to delay the start by default
        Since:
        2021.19
      • scheduler

        protected org.quartz.Scheduler scheduler
    • Constructor Detail

      • SchedulerServiceImpl

        public SchedulerServiceImpl()