Timer

 

Timer is a timer tool used to schedule the execution of specified tasks in a background thread. It can be scheduled to execute a task once or repeatedly.
TimerTask is an abstract class whose subclasses represent a task that can be scheduled by Timer.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325188657&siteId=291194637
Recommended