Package ubic.gemma.core.logging.log4j
Class DelegatingThreadContextSchedulingTaskExecutor
- java.lang.Object
-
- ubic.gemma.core.logging.log4j.DelegatingThreadContextTaskExecutor
-
- ubic.gemma.core.logging.log4j.DelegatingThreadContextAsyncTaskExecutor
-
- ubic.gemma.core.logging.log4j.DelegatingThreadContextSchedulingTaskExecutor
-
- All Implemented Interfaces:
Executor
,org.springframework.core.task.AsyncTaskExecutor
,org.springframework.core.task.TaskExecutor
,org.springframework.scheduling.SchedulingTaskExecutor
,DelegatingAsyncTaskExecutor
,DelegatingSchedulingTaskExecutor
,DelegatingTaskExecutor
public class DelegatingThreadContextSchedulingTaskExecutor extends DelegatingThreadContextAsyncTaskExecutor implements DelegatingSchedulingTaskExecutor
- Author:
- poirigui
-
-
Constructor Summary
Constructors Constructor Description DelegatingThreadContextSchedulingTaskExecutor(org.springframework.scheduling.SchedulingTaskExecutor delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.scheduling.SchedulingTaskExecutor
getDelegate()
The task executor this is delegating for.boolean
prefersShortLivedTasks()
-
Methods inherited from class ubic.gemma.core.logging.log4j.DelegatingThreadContextAsyncTaskExecutor
execute, submit, submit
-
Methods inherited from class ubic.gemma.core.logging.log4j.DelegatingThreadContextTaskExecutor
execute
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
getDelegate
public org.springframework.scheduling.SchedulingTaskExecutor getDelegate()
Description copied from interface:DelegatingAsyncTaskExecutor
The task executor this is delegating for.- Specified by:
getDelegate
in interfaceDelegatingAsyncTaskExecutor
- Specified by:
getDelegate
in interfaceDelegatingSchedulingTaskExecutor
- Specified by:
getDelegate
in interfaceDelegatingTaskExecutor
- Overrides:
getDelegate
in classDelegatingThreadContextAsyncTaskExecutor
-
prefersShortLivedTasks
public boolean prefersShortLivedTasks()
- Specified by:
prefersShortLivedTasks
in interfaceorg.springframework.scheduling.SchedulingTaskExecutor
-
-