public class AsyncConfig.ExceptionHandlingAsyncTaskExecutor extends Object implements org.springframework.core.task.AsyncTaskExecutor, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
ExceptionHandlingAsyncTaskExecutor(org.springframework.core.task.AsyncTaskExecutor executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
void |
execute(Runnable task) |
void |
execute(Runnable task,
long startTimeout) |
protected void |
handle(Exception e) |
<T> Future<T> |
submit(Callable<T> task) |
Future<?> |
submit(Runnable task) |
public ExceptionHandlingAsyncTaskExecutor(org.springframework.core.task.AsyncTaskExecutor executor)
public void execute(Runnable task)
public void execute(Runnable task, long startTimeout)
execute in interface org.springframework.core.task.AsyncTaskExecutorprotected void handle(Exception e)
public Future<?> submit(Runnable task)
submit in interface org.springframework.core.task.AsyncTaskExecutorpublic <T> Future<T> submit(Callable<T> task)
submit in interface org.springframework.core.task.AsyncTaskExecutorpublic void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionCopyright © 2018. All rights reserved.