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 voidexecute(Runnable task, long startTimeout)org.springframework.core.task.AsyncTaskExecutorgetDelegate()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:DelegatingAsyncTaskExecutorThe task executor this is delegating for.- Specified by:
getDelegatein interfaceDelegatingAsyncTaskExecutor- Specified by:
getDelegatein interfaceDelegatingTaskExecutor- Overrides:
getDelegatein classDelegatingThreadContextTaskExecutor
-
execute
public void execute(Runnable task, long startTimeout)
- Specified by:
executein interfaceorg.springframework.core.task.AsyncTaskExecutor
-
submit
public Future<?> submit(Runnable task)
- Specified by:
submitin interfaceorg.springframework.core.task.AsyncTaskExecutor
-
-