Example usage for Java org.springframework.core.task SimpleAsyncTaskExecutor fields, constructors, methods, implement or subclass
The text is from its open source code.
SimpleAsyncTaskExecutor() Create a new SimpleAsyncTaskExecutor with default thread name prefix. | |
SimpleAsyncTaskExecutor(String threadNamePrefix) Create a new SimpleAsyncTaskExecutor with the given thread name prefix. | |
SimpleAsyncTaskExecutor(ThreadFactory threadFactory) Create a new SimpleAsyncTaskExecutor with the given external thread factory. |
void | execute(Runnable task) Executes the given task, within a concurrency throttle if configured (through the superclass's settings). |
void | setConcurrencyLimit(int concurrencyLimit) Set the maximum number of parallel accesses allowed. |
void | setDaemon(boolean daemon) Set whether this factory is supposed to create daemon threads, just executing as long as the application itself is running. |
void | setThreadGroup(@Nullable ThreadGroup threadGroup) Specify the thread group that threads should be created in. |
void | setThreadNamePrefix(@Nullable String threadNamePrefix) Specify the prefix to use for the names of newly created threads. |
Future> | submit(Runnable task) |
Future | submit(Callable |