Executor Service 04: Scheduled Thread Pool
HTML-код
- Опубликовано: 21 авг 2024
- Internal Implementation of Scheduled Thread Pool.
How it works. Way to schedule your Runnable. How to set tasks after after fixed delay and at fixed rate.
These Runnable/Callable are organized in Delay Queue and Threads Pick and execute tasks from delay queue on the basis of frequency defined.
appreciated to create this content
not clear....try to add Thread.sleep(1000) in task....then see whether fixedrate is working fine or not ?