org.eclipse.nebula.widgets.nattable.util
Class Scheduler

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

public class Scheduler
extends Object
implements ThreadFactory


Constructor Summary
Scheduler(String threadNamePrefix)
           
 
Method Summary
 Thread newThread(Runnable r)
           
 ScheduledFuture<?> schedule(Runnable runnable, long initialDelayMillis)
           
 ScheduledFuture<?> scheduleAtFixedRate(Runnable runnable, long initialDelayMillis, long refreshIntervalMillis)
           
 ScheduledFuture<?> scheduleWithFixedDelay(Runnable runnable, long initialDelayMillis, long refreshIntervalMillis)
           
 Future<?> submit(Runnable runnable)
           
 void unschedule(ScheduledFuture<?> future)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scheduler

public Scheduler(String threadNamePrefix)
Method Detail

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)

newThread

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

submit

public Future<?> submit(Runnable runnable)


Copyright © 2015. All rights reserved.