org.springframework.core.task.TaskExecutor extension exposing
scheduling characteristics that are relevant to potential task submitters.
Scheduling clients are encouraged to submit
Runnables that match the exposed preferences
of the TaskExecutor implementation in use.
SchedulingAwareRunnable, org.springframework.core.task.TaskExecutor
| Modifier and Type | Method and Description |
|---|---|
| public default boolean | Returns: true if this executor prefers short-lived tasks (the default),
false otherwise (for treatment like a regular TaskExecutor)Does this |
| prefersShortLivedTasks | back to summary |
|---|---|
| public default boolean prefersShortLivedTasks() Does this A This should be considered a hint. Of course
| |