|
You are here |
yakovfain.com | ||
| | | | |
golangbot.com
|
|
| | | | | Learn how the WebSocket protocol works and how to create a simple WebSocket server using Go. | |
| | | | |
initialcommit.com
|
|
| | | | | This tutorial shows several ways for iterating a Map in Java. | |
| | | | |
www.craigpardey.com
|
|
| | | | | Spring 3.2 has some very nice features for scheduling tasks. The pure Java way of doing this looks something like private ScheduledExecutorService executor = Executors.newSingleThreadScheduledExecutor(); class ScheduledTask implements Runnable { @Override public void run() { System.out.println("Running scheduled task"); } } // Schedule a task every 5 seconds executor.scheduleAtFixedRate(new ScheduledTask(), 1, 5, TimeUnit.SECONDS); // If you don't do this then the JVM won't exit cleanly executor.shutdown(); But now, with the snazzy new Spring scheduling annotations, it can be as simple as this | |
| | | | |
jeffmilner.com
|
|
| | | [AI summary] A blog post discussing a humorous scene from a movie and providing a collection of digital content and other miscellaneous topics. | ||