org.quartz.spi
Interface ThreadExecutor

All Known Implementing Classes:
DefaultThreadExecutor, WorkManagerThreadExecutor

public interface ThreadExecutor

Allows different strategies for scheduling threads. The initialize() method is required to be called before the first call to execute(Thread). The Thread containing the work to be performed is passed to execute and the work is scheduled by the underlying implementation.

Version:
$Revision$ $Date$
Author:
matt.accola

Method Summary
 void execute(Thread thread)
          Submit a task for execution
 void initialize()
          Initialize any state prior to calling execute(Thread)
 

Method Detail

execute

void execute(Thread thread)
Submit a task for execution

Parameters:
thread - the thread to execute

initialize

void initialize()
Initialize any state prior to calling execute(Thread)



Copyright 2001-2019, Terracotta, Inc.