Class ConcurrentTaskExecutor.ManagedTaskBuilder
java.lang.Object
org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.ManagedTaskBuilder
- Enclosing class:
- ConcurrentTaskExecutor
Delegate that wraps a given Runnable/Callable with a JSR-236 ManagedTask,
exposing a long-running hint based on
SchedulingAwareRunnable
and a given identity name.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Runnable
buildManagedTask
(Runnable task, String identityName) static <T> Callable<T>
buildManagedTask
(Callable<T> task, String identityName)
-
Constructor Details
-
ManagedTaskBuilder
protected ManagedTaskBuilder()
-
-
Method Details
-
buildManagedTask
-
buildManagedTask
-