Interface BackgroundScheduler
-
- All Known Implementing Classes:
DefaultExecutive,WebThreadAffinityExecutive
public interface BackgroundSchedulerOptional interface for
Executiveto implement to indicate it supports background scheduling ofRunnableinstances.Some
Executiveimplementations can only haveProcessStatescopedThreadinstances that disallow long running backgroundThread. However, long running backgroundThreadallows more efficiency in running scheduledRunnableinstances.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidschedule(long delay, java.lang.Runnable runnable)Schedules theRunnableto be executed after the delay.
-