Package com.aspectran.core.util.thread
Class ScheduledExecutorScheduler
- java.lang.Object
-
- com.aspectran.core.util.thread.ScheduledExecutorScheduler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.aspectran.core.util.thread.Scheduler
Scheduler.Task
-
-
Constructor Summary
Constructors Constructor Description ScheduledExecutorScheduler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isActive()
Scheduler.Task
schedule(java.lang.Runnable task, long delay, java.util.concurrent.TimeUnit unit)
void
start()
void
stop()
-
-
-
Method Detail
-
schedule
public Scheduler.Task schedule(java.lang.Runnable task, long delay, java.util.concurrent.TimeUnit unit)
-
-