Class ScheduleConfig


  • public class ScheduleConfig
    extends Object
    • Constructor Detail

      • ScheduleConfig

        public ScheduleConfig​(org.eclipse.jgit.lib.Config rc,
                              String section)
      • ScheduleConfig

        public ScheduleConfig​(org.eclipse.jgit.lib.Config rc,
                              String section,
                              String subsection)
      • ScheduleConfig

        public ScheduleConfig​(org.eclipse.jgit.lib.Config rc,
                              String section,
                              String subsection,
                              String keyInterval,
                              String keyStartTime)
    • Method Detail

      • getInitialDelay

        public long getInitialDelay()
        Milliseconds between constructor invocation and first event time.

        If there is any lag between the constructor invocation and queuing the object into an executor the event will run later, as there is no method to adjust for the scheduling delay.

      • getInterval

        public long getInterval()
        Number of milliseconds between events.