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.SchedulingTaskExecutorThe task executor this is delegating for.booleanMethods inherited from class ubic.gemma.core.logging.log4j.DelegatingThreadContextAsyncTaskExecutor
execute, submit, submitMethods inherited from class ubic.gemma.core.logging.log4j.DelegatingThreadContextTaskExecutor
executeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.task.AsyncTaskExecutor
execute, submit, submitMethods 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:DelegatingAsyncTaskExecutorThe task executor this is delegating for.- Specified by:
getDelegatein interfaceDelegatingAsyncTaskExecutor- Specified by:
getDelegatein interfaceDelegatingSchedulingTaskExecutor- Specified by:
getDelegatein interfaceDelegatingTaskExecutor- Overrides:
getDelegatein classDelegatingThreadContextAsyncTaskExecutor
-
prefersShortLivedTasks
public boolean prefersShortLivedTasks()- Specified by:
prefersShortLivedTasksin interfaceorg.springframework.scheduling.SchedulingTaskExecutor
-