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
-
Field Summary
Fields inherited from interface org.springframework.core.task.AsyncTaskExecutor
TIMEOUT_IMMEDIATE, TIMEOUT_INDEFINITE
-
Constructor Summary
ConstructorsConstructorDescriptionDelegatingThreadContextSchedulingTaskExecutor
(org.springframework.scheduling.SchedulingTaskExecutor delegate) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.scheduling.SchedulingTaskExecutor
The task executor this is delegating for.boolean
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
Methods inherited from interface org.springframework.core.task.AsyncTaskExecutor
execute, submit, submit
Methods inherited from interface org.springframework.core.task.TaskExecutor
execute
-
Constructor Details
-
DelegatingThreadContextSchedulingTaskExecutor
public DelegatingThreadContextSchedulingTaskExecutor(org.springframework.scheduling.SchedulingTaskExecutor delegate)
-
-
Method Details
-
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
-