public class DustAsyncTaskExecutor
extends java.lang.Object
implements org.springframework.core.task.AsyncTaskExecutor, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
限定符和类型 | 类和说明 |
---|---|
static class |
DustAsyncTaskExecutor.TaskInfo<T> |
构造器和说明 |
---|
DustAsyncTaskExecutor(org.springframework.core.task.AsyncTaskExecutor executor) |
限定符和类型 | 方法和说明 |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
void |
execute(DustAsyncTaskExecutor.TaskInfo taskInfo) |
void |
execute(java.lang.Runnable task) |
void |
execute(java.lang.Runnable task,
long startTimeout) |
protected void |
handle(java.lang.Exception e) |
<T> java.util.concurrent.Future<T> |
submit(java.util.concurrent.Callable<T> task) |
java.util.concurrent.Future<?> |
submit(java.lang.Runnable task) |
public DustAsyncTaskExecutor(org.springframework.core.task.AsyncTaskExecutor executor)
public void execute(java.lang.Runnable task)
execute
在接口中 java.util.concurrent.Executor
execute
在接口中 org.springframework.core.task.TaskExecutor
public void execute(java.lang.Runnable task, long startTimeout)
execute
在接口中 org.springframework.core.task.AsyncTaskExecutor
public void execute(DustAsyncTaskExecutor.TaskInfo taskInfo)
protected void handle(java.lang.Exception e)
public java.util.concurrent.Future<?> submit(java.lang.Runnable task)
submit
在接口中 org.springframework.core.task.AsyncTaskExecutor
public <T> java.util.concurrent.Future<T> submit(java.util.concurrent.Callable<T> task)
submit
在接口中 org.springframework.core.task.AsyncTaskExecutor
public void destroy() throws java.lang.Exception
destroy
在接口中 org.springframework.beans.factory.DisposableBean
java.lang.Exception
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
在接口中 org.springframework.beans.factory.InitializingBean
java.lang.Exception