Class Scheduler
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.util.Scheduler
-
- All Implemented Interfaces:
ThreadFactory
public class Scheduler extends Object implements ThreadFactory
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreadnewThread(Runnable r)ScheduledFuture<?>schedule(Runnable runnable, long initialDelayMillis)ScheduledFuture<?>scheduleAtFixedRate(Runnable runnable, long initialDelayMillis, long refreshIntervalMillis)ScheduledFuture<?>scheduleWithFixedDelay(Runnable runnable, long initialDelayMillis, long refreshIntervalMillis)voidshutdownNow()Terminate all actively executing tasks and shutdown the scheduler.Future<?>submit(Runnable runnable)voidunschedule(ScheduledFuture<?> future)
-
-
-
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)
-
shutdownNow
public void shutdownNow()
Terminate all actively executing tasks and shutdown the scheduler.- Since:
- 1.5
-
newThread
public Thread newThread(Runnable r)
- Specified by:
newThreadin interfaceThreadFactory
-
-