Define "enabled" in ScheduledExecutorService
Pavel Rappo
pavel.rappo at gmail.com
Fri May 2 15:17:39 UTC 2025
I've recently re-read documentation for ScheduledExecutorService. I
noticed that the documentation uses the term "enabled", but does not
define it. The semantics of the term feels almost intuitive, but not
quite.
To check my intuitions, I searched through the package documentation
and source comments. I found usages of "enabled" in similar context of
the time-scheduled task execution. Some of those usages are
descriptions that are close to a proper definition. However, those
descriptions are scattered through implementations of
SchedulledExecutorService.
I wonder if it makes sense to properly define "enable"/"enabled" in
SchedulledExecutorService.
-Pavel
More information about the concurrency-discuss
mailing list