|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.core.task.support.ConcurrentExecutorAdapter
public class ConcurrentExecutorAdapter
Adapter that exposes the java.util.concurrent.Executor
interface for any Spring TaskExecutor
.
Follows the JDK executor contract for exception handling.
Executor
,
TaskExecutor
Constructor Summary | |
---|---|
ConcurrentExecutorAdapter(TaskExecutor taskExecutor)
Create a new ConcurrentExecutorAdapter for the given Spring TaskExecutor. |
Method Summary | |
---|---|
void |
execute(java.lang.Runnable command)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConcurrentExecutorAdapter(TaskExecutor taskExecutor)
taskExecutor
- the Spring TaskExecutor to wrapMethod Detail |
---|
public void execute(java.lang.Runnable command)
execute
in interface java.util.concurrent.Executor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |