Class AbstractScheduledService.CustomScheduler.Schedule

    • Constructor Detail

      • Schedule

        public Schedule​(long delay,
                        TimeUnit unit)
        Parameters:
        delay - the time from now to delay execution
        unit - the time unit of the delay parameter
      • Schedule

        public Schedule​(Duration delay)
        Parameters:
        delay - the time from now to delay execution
        Since:
        33.4.0 (but since 31.1 in the JRE flavor)