API support for ScheduledExecutorService
jalaziz opened this issue · comments
The latest refactor to ExecutorInstrumentation.instrument
is not very Java friendly.
The primary issue is the loss of type information. The returned ExecutorSevice
does not retain the same type returned from the Executors.new...
calls. This is primarily annoying with ScheduledThreadPoolExecutor
and ScheduledExecutorService
.
It would be good to at least distinguish between ScheduledExecutorService
and ExecutorSevice
in the API.