Class BaseSchedulerServiceImpl

  • All Implemented Interfaces:
    ISchedulerService, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle
    Direct Known Subclasses:
    HapiSchedulerServiceImpl

    public abstract class BaseSchedulerServiceImpl
    extends Object
    implements ISchedulerService, org.springframework.context.SmartLifecycle
    This class provides task scheduling for the entire module using the Quartz library. Inside here, we have two schedulers:
    • The Local Scheduler handles tasks that need to execute locally. This typically means things that should happen on all nodes in a clustered environment.
    • The Cluster Scheduler handles tasks that are distributed and should be handled by only one node in the cluster (assuming a clustered server). If the server is not clustered, this scheduler acts the same way as the local scheduler.