Java org.springframework.core.task SimpleAsyncTaskExecutor fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.core.task SimpleAsyncTaskExecutor fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.core.task SimpleAsyncTaskExecutor.

The text is from its open source code.

Subclass

org.springframework.core.task.SimpleAsyncTaskExecutor has subclasses.
Click this link to see all its subclasses.

Constructor

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.

Method

voidexecute(Runnable task)
Executes the given task, within a concurrency throttle if configured (through the superclass's settings).
voidsetConcurrencyLimit(int concurrencyLimit)
Set the maximum number of parallel accesses allowed.
voidsetDaemon(boolean daemon)
Set whether this factory is supposed to create daemon threads, just executing as long as the application itself is running.
voidsetThreadGroup(@Nullable ThreadGroup threadGroup)
Specify the thread group that threads should be created in.
voidsetThreadNamePrefix(@Nullable String threadNamePrefix)
Specify the prefix to use for the names of newly created threads.
Futuresubmit(Runnable task)
Futuresubmit(Callable task)