Tag Archives: Timer by java

Use Timer to schedule periodic tasks

The java.util.Timer and java.util.TimerTask classes can be used for many simple thread related tasks. Use them to perform an action either periodically or just once. As well, the first execution can be delayed to a specific time in the future. … Continue reading

Posted in java | Tagged , | Leave a comment