Class JobSchedule.FixedDelaySchedule

    • Method Detail

      • getInitialDelay

        public long getInitialDelay()
        Returns the initial delay before running the job, 0 if the job must run immediately.
        Returns:
        the initial delay
      • getDelay

        public long getDelay()
        Returns the delay between the termination of one execution and the commencement of the next.
        Returns:
        the delay
      • getUnit

        public TimeUnit getUnit()
        Return the unit of time for the two delay values.
        Returns:
        the delay unit
      • getDescription

        public String getDescription​(List<Locale> locales)
        Description copied from class: JobSchedule
        Returns a description of the schedule, for end-user understanding, typically inserted in audit events.
        Specified by:
        getDescription in class JobSchedule
        Parameters:
        locales - the locales to use, in decreasing order starting with the preferred locale
        Returns:
        a description of the schedule