Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.

All Questions

Filter by
Sorted by
Tagged with
1 vote
2 answers
92 views

Reinitialize cache periodically, catching and logging any Throwables

My existing code has a scheduler that we init when a DataStore constructor is called. ...
Naman's user avatar
  • 111
7 votes
1 answer
711 views

Pausing a SwingWorker with a Timer

I made a SwingWorker which is fetching tweets using the twitter4j API. The twitter API will allow 180 queries every 15 minutes, and then throw an exception with ...
Aki K's user avatar
  • 1,329
7 votes
2 answers
510 views

Exception handling for HTTP request timer

This method is used to check a URL and return the time it takes to check and the HTTP status code: ...
moto_beats's user avatar