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 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)
void
shutdownNow()
Terminate all actively executing tasks and shutdown the scheduler.Future<?>
submit(Runnable runnable)
void
unschedule(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:
newThread
in interfaceThreadFactory
-
-