Executes a function f
in a blocking fashion.
Executes a function f
in a blocking fashion.
Note: The permit may be removed in the future.
The amount of CPU time that's been scheduled as per ThreadMXBean.
Flush the schedule.
Flush the schedule. Returns when there is no more work to do.
The number of dispatches performed by this scheduler.
Schedule r
to be run at some time in the future.
The amount of User time that's been scheduled as per ThreadMXBean.
Total walltime spent in the scheduler.
An interface for scheduling java.lang.Runnable tasks.