Package ubic.gemma.core.logging.log4j
Class DelegatingThreadContextAsyncTaskExecutor
- java.lang.Object
-
- ubic.gemma.core.logging.log4j.DelegatingThreadContextTaskExecutor
-
- ubic.gemma.core.logging.log4j.DelegatingThreadContextAsyncTaskExecutor
-
- All Implemented Interfaces:
Executor
,org.springframework.core.task.AsyncTaskExecutor
,org.springframework.core.task.TaskExecutor
,DelegatingAsyncTaskExecutor
,DelegatingTaskExecutor
- Direct Known Subclasses:
DelegatingThreadContextSchedulingTaskExecutor
public class DelegatingThreadContextAsyncTaskExecutor extends DelegatingThreadContextTaskExecutor implements DelegatingAsyncTaskExecutor
- Author:
- poirigui
-
-
Constructor Summary
Constructors Constructor Description DelegatingThreadContextAsyncTaskExecutor(org.springframework.core.task.AsyncTaskExecutor delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(Runnable task, long startTimeout)
org.springframework.core.task.AsyncTaskExecutor
getDelegate()
The task executor this is delegating for.Future<?>
submit(Runnable task)
<T> Future<T>
submit(Callable<T> task)
-
Methods inherited from class ubic.gemma.core.logging.log4j.DelegatingThreadContextTaskExecutor
execute
-
-
-
-
Method Detail
-
getDelegate
public org.springframework.core.task.AsyncTaskExecutor getDelegate()
Description copied from interface:DelegatingAsyncTaskExecutor
The task executor this is delegating for.- Specified by:
getDelegate
in interfaceDelegatingAsyncTaskExecutor
- Specified by:
getDelegate
in interfaceDelegatingTaskExecutor
-
execute
public void execute(Runnable task, long startTimeout)
- Specified by:
execute
in interfaceorg.springframework.core.task.AsyncTaskExecutor
-
submit
public Future<?> submit(Runnable task)
- Specified by:
submit
in interfaceorg.springframework.core.task.AsyncTaskExecutor
-
-