Class Scheduler

    • Constructor Detail

      • Scheduler

        public Scheduler​(String threadNamePrefix)
    • Method Detail

      • scheduleAtFixedRate

        public ScheduledFuture<?> scheduleAtFixedRate​(Runnable runnable,
                                                      long initialDelayMillis,
                                                      long refreshIntervalMillis)
      • scheduleWithFixedDelay

        public ScheduledFuture<?> scheduleWithFixedDelay​(Runnable runnable,
                                                         long initialDelayMillis,
                                                         long refreshIntervalMillis)
      • shutdownNow

        public void shutdownNow()
        Terminate all actively executing tasks and shutdown the scheduler.
        Since:
        1.5