Interface PrimaryNodeService

  • All Known Implementing Classes:
    PrimaryNodeServiceImpl

    @Internal
    public interface PrimaryNodeService
    Primary/cold standby node mutual exclusion services.
    • Method Detail

      • joinPrimaryNodeElection

        void joinPrimaryNodeElection()
                              throws org.quartz.SchedulerException
        Acquire primary node lock, or go into secondary node mode if the primary lock is held by another node. Care - this method starts the background job, therefore even the very first run is asynchronous and there is no guarantee that once this method returns the lock acquisition is complete.
        Throws:
        org.quartz.SchedulerException
      • shutdown

        void shutdown()
        Shutdown the service.
        Since:
        9.4.0