接口的使用
org.springframework.core.task.AsyncListenableTaskExecutor
使用AsyncListenableTaskExecutor的程序包 程序包 说明 org.springframework.core.task This package defines Spring's core TaskExecutor abstraction, and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.org.springframework.core.task.support Support classes for Spring's TaskExecutor abstraction.org.springframework.http.client Contains an abstraction over client-side HTTP.org.springframework.jca.work Convenience classes for scheduling based on the JCA WorkManager facility, as supported within ResourceAdapters.org.springframework.scheduling.commonj Convenience classes for scheduling based on the CommonJ WorkManager/TimerManager facility, as supported by IBM WebSphere 6.0+ and BEA WebLogic 9.0+.org.springframework.scheduling.concurrent Scheduling convenience classes for thejava.util.concurrent
andjavax.enterprise.concurrent
packages, allowing to set up a ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring context.org.springframework.scheduling.quartz Support classes for the open source scheduler Quartz, allowing to set up Quartz Schedulers, JobDetails and Triggers as beans in a Spring context.org.springframework.web.client Core package of the client-side web support.org.springframework.web.socket.client.jetty Client-side support for the Jetty WebSocket API.org.springframework.web.socket.client.standard Client-side classes for use with standard Java WebSocket endpoints.org.springframework.core.task中AsyncListenableTaskExecutor的使用
实现AsyncListenableTaskExecutor的org.springframework.core.task中的类 修饰符和类型 类 说明 class
SimpleAsyncTaskExecutor
TaskExecutor
implementation that fires up a new Thread for each task, executing it asynchronously.org.springframework.core.task.support中AsyncListenableTaskExecutor的使用
实现AsyncListenableTaskExecutor的org.springframework.core.task.support中的类 修饰符和类型 类 说明 class
TaskExecutorAdapter
Adapter that takes a JDKjava.util.concurrent.Executor
and exposes a SpringTaskExecutor
for it.org.springframework.http.client中AsyncListenableTaskExecutor的使用
参数类型为AsyncListenableTaskExecutor的org.springframework.http.client中的方法 修饰符和类型 方法 说明 void
SimpleClientHttpRequestFactory. setTaskExecutor(AsyncListenableTaskExecutor taskExecutor)
Set the task executor for this request factory.org.springframework.jca.work中AsyncListenableTaskExecutor的使用
实现AsyncListenableTaskExecutor的org.springframework.jca.work中的类 修饰符和类型 类 说明 class
WorkManagerTaskExecutor
TaskExecutor
implementation that delegates to a JCA 1.7 WorkManager, implementing theWorkManager
interface.org.springframework.scheduling.commonj中AsyncListenableTaskExecutor的使用
实现AsyncListenableTaskExecutor的org.springframework.scheduling.commonj中的类 修饰符和类型 类 说明 class
WorkManagerTaskExecutor
已过时。as of 5.1, in favor of the EE 7/8 basedDefaultManagedTaskExecutor
org.springframework.scheduling.concurrent中AsyncListenableTaskExecutor的使用
实现AsyncListenableTaskExecutor的org.springframework.scheduling.concurrent中的类 修饰符和类型 类 说明 class
ConcurrentTaskExecutor
Adapter that takes ajava.util.concurrent.Executor
and exposes a SpringTaskExecutor
for it.class
ConcurrentTaskScheduler
Adapter that takes ajava.util.concurrent.ScheduledExecutorService
and exposes a SpringTaskScheduler
for it.class
DefaultManagedTaskExecutor
JNDI-based variant ofConcurrentTaskExecutor
, performing a default lookup for JSR-236's "java:comp/DefaultManagedExecutorService" in a Java EE 7/8 environment.class
DefaultManagedTaskScheduler
JNDI-based variant ofConcurrentTaskScheduler
, performing a default lookup for JSR-236's "java:comp/DefaultManagedScheduledExecutorService" in a Java EE 7 environment.class
ThreadPoolTaskExecutor
JavaBean that allows for configuring aThreadPoolExecutor
in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a SpringTaskExecutor
.class
ThreadPoolTaskScheduler
Implementation of Spring'sTaskScheduler
interface, wrapping a nativeScheduledThreadPoolExecutor
.org.springframework.scheduling.quartz中AsyncListenableTaskExecutor的使用
实现AsyncListenableTaskExecutor的org.springframework.scheduling.quartz中的类 修饰符和类型 类 说明 class
SimpleThreadPoolTaskExecutor
Subclass of Quartz's SimpleThreadPool that implements Spring'sTaskExecutor
interface and listens to Spring lifecycle callbacks.org.springframework.web.client中AsyncListenableTaskExecutor的使用
参数类型为AsyncListenableTaskExecutor的org.springframework.web.client中的构造器 构造器 说明 AsyncRestTemplate(AsyncListenableTaskExecutor taskExecutor)
已过时。Create a new instance of theAsyncRestTemplate
using the givenAsyncTaskExecutor
.org.springframework.web.socket.client.jetty中AsyncListenableTaskExecutor的使用
返回AsyncListenableTaskExecutor的org.springframework.web.socket.client.jetty中的方法 修饰符和类型 方法 说明 AsyncListenableTaskExecutor
JettyWebSocketClient. getTaskExecutor()
Return the configuredTaskExecutor
.参数类型为AsyncListenableTaskExecutor的org.springframework.web.socket.client.jetty中的方法 修饰符和类型 方法 说明 void
JettyWebSocketClient. setTaskExecutor(AsyncListenableTaskExecutor taskExecutor)
Set anAsyncListenableTaskExecutor
to use when opening connections.org.springframework.web.socket.client.standard中AsyncListenableTaskExecutor的使用
返回AsyncListenableTaskExecutor的org.springframework.web.socket.client.standard中的方法 修饰符和类型 方法 说明 AsyncListenableTaskExecutor
StandardWebSocketClient. getTaskExecutor()
Return the configuredTaskExecutor
.参数类型为AsyncListenableTaskExecutor的org.springframework.web.socket.client.standard中的方法 修饰符和类型 方法 说明 void
StandardWebSocketClient. setTaskExecutor(AsyncListenableTaskExecutor taskExecutor)
Set anAsyncListenableTaskExecutor
to use when opening connections.