Interface BackgroundScheduler
-
- All Known Implementing Classes:
DefaultExecutive
,WebThreadAffinityExecutive
public interface BackgroundScheduler
Optional interface for
Executive
to implement to indicate it supports background scheduling ofRunnable
instances.Some
Executive
implementations can only haveProcessState
scopedThread
instances that disallow long running backgroundThread
. However, long running backgroundThread
allows more efficiency in running scheduledRunnable
instances.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
schedule(long delay, java.lang.Runnable runnable)
Schedules theRunnable
to be executed after the delay.
-