Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2001-2012, Terracotta, Inc.