Explore >> Select a destination


You are here

nikgrozev.com
| | www.webupd8.org
8.3 parsecs away

Travel
| | How To Install Oracle Java 7 In Debian Via Repository ~ Ubuntu / Linux blog
| | www.craigpardey.com
13.7 parsecs away

Travel
| | 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
| | vitonsky.net
13.8 parsecs away

Travel
| | We strive to ensure code quality with tests, static code typing, code analyzing, code review and documentation, but some of most popular programming languages like Typescript and Java kill interfaces as concept to describe contract of code.
| | www.daveperrett.com
70.7 parsecs away

Travel
| I keep forgetting how to do this, so purely for my own benefit - how to set up Ubuntu to send via sendmail and SendGrid.