Add ListenableScheduledFuture support to TaskScheduler [SPR-13407] #17987
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: superseded
An issue that has been superseded by another
type: enhancement
A general enhancement
Kevin Conaway opened SPR-13407 and commented
Juergen Hoeller what are your thoughts on adding listenable support for the TaskScheduler interface? I'm envisioning an AsyncListenableTaskScheduler interface that has scheduleListenableXXX methods that mirror those in TaskScheduler (similar to AsyncListenableTaskExecutor -> TaskExecutor)
The use case here is to register callbacks that fire for every execution of the scheduled task.
I'm happy to submit a PR for this if you think it would be worthwhile. I have written an implementation for for ListenableScheduledFuture<?> scheduleListenable(Runnable task, Trigger trigger); that we're using here but I would like to get a full featured version in to core if possible
Affects: 4.2 GA
Issue Links:
The text was updated successfully, but these errors were encountered: