public class ThreadPoolAsyncTaskExecutor extends Object implements org.springframework.core.task.AsyncTaskExecutor
| Constructor and Description |
|---|
ThreadPoolAsyncTaskExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Runnable task)
Executes the runnable
|
void |
execute(Runnable task,
long startTimeout)
Executes the runnable
|
void |
shutdown()
Shuts down the internal
ExecutorService to ensure that all threads are stopped in order to allow the JVM
to terminate cleanly in a timely fashion. |
public void execute(Runnable task, long startTimeout)
execute in interface org.springframework.core.task.AsyncTaskExecutortask - The runnable taskstartTimeout - The start timeout (ignored)public void execute(Runnable task)
execute in interface org.springframework.core.task.TaskExecutortask - The runnable taskpublic void shutdown()
ExecutorService to ensure that all threads are stopped in order to allow the JVM
to terminate cleanly in a timely fashion.Copyright © 2014 Atlassian. All rights reserved.