Class Scheduler

java.lang.Object
org.eclipse.nebula.widgets.nattable.util.Scheduler
All Implemented Interfaces:
ThreadFactory

public class Scheduler extends Object implements ThreadFactory
  • Constructor Details

    • Scheduler

      public Scheduler(String threadNamePrefix)
  • Method Details

    • schedule

      public ScheduledFuture<?> schedule(Runnable runnable, long initialDelayMillis)
    • scheduleAtFixedRate

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

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

      public void unschedule(ScheduledFuture<?> future)
    • shutdownNow

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

      public Thread newThread(Runnable r)
      Specified by:
      newThread in interface ThreadFactory
    • submit

      public Future<?> submit(Runnable runnable)