Code example for Timer

Methods: sleepcancelscheduleAtFixedRate