Package org.quartz.impl
Class DefaultThreadExecutor
- java.lang.Object
-
- org.quartz.impl.DefaultThreadExecutor
-
- All Implemented Interfaces:
ThreadExecutor
public class DefaultThreadExecutor extends java.lang.Object implements ThreadExecutor
Schedules work on a newly spawned thread. This is the default Quartz behavior.- Author:
- matt.accola
-
-
Constructor Summary
Constructors Constructor Description DefaultThreadExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(java.lang.Thread thread)Submit a task for executionvoidinitialize()Initialize any state prior to callingThreadExecutor.execute(Thread)
-
-
-
Method Detail
-
initialize
public void initialize()
Description copied from interface:ThreadExecutorInitialize any state prior to callingThreadExecutor.execute(Thread)- Specified by:
initializein interfaceThreadExecutor
-
execute
public void execute(java.lang.Thread thread)
Description copied from interface:ThreadExecutorSubmit a task for execution- Specified by:
executein interfaceThreadExecutor- Parameters:
thread- the thread to execute
-
-