站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.0.5 API 文档英文版

org.springframework.core.task (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

Package org.springframework.core.task

This package defines Spring's core TaskExecutor abstraction, and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.

See:
          Description

Interface Summary
AsyncTaskExecutor Extended interface for asynchronous TaskExecutor implementations, offering an overloaded AsyncTaskExecutor.execute(Runnable, long) variant with start timeout parameter.
TaskExecutor Simple task executor interface that abstracts the execution of a Runnable.
 

Class Summary
SimpleAsyncTaskExecutor TaskExecutor implementation that fires up a new Thread for each task, executing it asynchronously.
SyncTaskExecutor TaskExecutor implementation that executes each task synchronously in the calling thread.
 

Exception Summary
TaskRejectedException Exception thrown when a TaskExecutor rejects to accept a given task for execution.
TaskTimeoutException Exception thrown when a AsyncTaskExecutor rejects to accept a given task for execution because of the specified timeout.
 

Package org.springframework.core.task Description

This package defines Spring's core TaskExecutor abstraction, and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.


The Spring Framework

Copyright © 2002-2007 The Spring Framework.