Java Garage

     

Chapter 28. USING TIMER TASKS

DO OR DIE:

  • Start a task to run repeatedly at a certain interval

  • Start a task after a specified delay

  • Start a task to run at a specific time

This topic elucidates the use of tasks, made available to us via the java.util.TimerTask API. This is a wonderfully practical and easy-to-use API.

Категории